Hash :
0ed0de4f
Author :
Date :
2024-01-18T10:47:50
OpenCL/Vulkan: Add initial program build support Introducing both clspv compiler lib integration, and clBuildProgram support. Internally we also add buildInternal() routine to abstract compile, link, and build phases. Output SPIR-V is also parsed internally via parseReflection() so that we can extract needed reflection information for CL runtime. Bug: angleproject:8549 Change-Id: If0563f4bea7ed0e04a13ea7a46c125c811d9c2a2 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/5303564 Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org> Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
# Copyright 2023 The ANGLE Project Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//build_overrides/angle.gni")
import("//gni/angle.gni")
# LLVM source location
clspv_llvm_dir = angle_llvm_dir
# clspv gn dir location
clspv_gn_dir = "//third_party/clspv/gn"
# SPIRV tools
spirv_tools_dir = angle_spirv_tools_dir
# configs that need adjustment
clspv_configs_to_append = []
clspv_configs_to_remove = [ "//build/config/compiler:chromium_code" ]
if (is_clang) {
clspv_configs_to_remove += [ "//build/config/clang:extra_warnings" ]
}