Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/KhronosGroup/SPIRV-Tools.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Fischer <greg@lunarg.com>2021-07-12 12:51:08 +0300
committerGitHub <noreply@github.com>2021-07-12 12:51:08 +0300
commit3b6abf41cc726513bd0401ebe35fb8e7a3819ce7 (patch)
tree36409933cae2c109243e82b210076156cb687411 /BUILD.bazel
parentc26baf4c93085248ae6619b254d0d4baf9d1f4a5 (diff)
Add non-semantic vulkan extended instruction set (#4362)
This is based on a legacy commit which installs a local grammar. A followup commit will change to the grammar in SPIRV-Headers. Co-authored-by: baldurk <baldurk@baldurk.org>
Diffstat (limited to 'BUILD.bazel')
-rw-r--r--BUILD.bazel8
1 files changed, 8 insertions, 0 deletions
diff --git a/BUILD.bazel b/BUILD.bazel
index 52290cfb3..145ef7448 100644
--- a/BUILD.bazel
+++ b/BUILD.bazel
@@ -3,6 +3,7 @@ load(
"COMMON_COPTS",
"DEBUGINFO_GRAMMAR_JSON_FILE",
"CLDEBUGINFO100_GRAMMAR_JSON_FILE",
+ "VKDEBUGINFO100_GRAMMAR_JSON_FILE",
"TEST_COPTS",
"base_test",
"generate_core_tables",
@@ -11,6 +12,7 @@ load(
"generate_glsl_tables",
"generate_opencl_tables",
"generate_vendor_tables",
+ "generate_vendor_tables_local",
"link_test",
"opt_test",
"reduce_test",
@@ -59,12 +61,16 @@ generate_vendor_tables("debuginfo")
generate_vendor_tables("opencl.debuginfo.100", "CLDEBUG100_")
+generate_vendor_tables_local("nonsemantic.vulkan.debuginfo.100", "VKDEBUG100_")
+
generate_vendor_tables("nonsemantic.clspvreflection")
generate_extinst_lang_headers("DebugInfo", DEBUGINFO_GRAMMAR_JSON_FILE)
generate_extinst_lang_headers("OpenCLDebugInfo100", CLDEBUGINFO100_GRAMMAR_JSON_FILE)
+generate_extinst_lang_headers("VulkanDebugInfo100", VKDEBUGINFO100_GRAMMAR_JSON_FILE)
+
py_binary(
name = "generate_registry_tables",
srcs = ["utils/generate_registry_tables.py"],
@@ -101,12 +107,14 @@ cc_library(
":gen_enum_string_mapping",
":gen_extinst_lang_headers_DebugInfo",
":gen_extinst_lang_headers_OpenCLDebugInfo100",
+ ":gen_extinst_lang_headers_VulkanDebugInfo100",
":gen_glsl_tables_unified1",
":gen_opencl_tables_unified1",
":gen_registry_tables",
":gen_vendor_tables_debuginfo",
":gen_vendor_tables_nonsemantic_clspvreflection",
":gen_vendor_tables_opencl_debuginfo_100",
+ ":gen_vendor_tables_nonsemantic_vulkan_debuginfo_100",
":gen_vendor_tables_spv_amd_gcn_shader",
":gen_vendor_tables_spv_amd_shader_ballot",
":gen_vendor_tables_spv_amd_shader_explicit_vertex_parameter",