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-09-15 21:38:53 +0300
committerGitHub <noreply@github.com>2021-09-15 21:38:53 +0300
commit1454c95d1b834a47403ef3806ffe77c9ebbfa40b (patch)
tree88d7d1aae2a113482d15256aa06fce2afda54792 /BUILD.gn
parent4ac8e5e541ea992dc6f44a4d4eb065a8fe0888ec (diff)
spirv-opt: Switch from Vulkan.DebugInfo to Shader.DebugInfo (#4493)
Includes: - Shift to use of spirv-header extinst.nonsemantic.shader grammar.json - Remove extinst.nonsemantic.vulkan.debuginfo.100.grammar.json - Enable all optimizations for Shader.DebugInfo Also fixes scalar replacement to only insert DebugValue after all OpVariables. This is not necessary for OpenCL.DebugInfo, but it is for Shader.DebugInfo. Likewise, fixes Private-to-Local to insert DebugDeclare after all OpVariables. Also fixes inlining to handle FunctionDefinition which can show up after first block if early return processing happens. Co-authored-by: baldurk <baldurk@baldurk.org>
Diffstat (limited to 'BUILD.gn')
-rw-r--r--BUILD.gn8
1 files changed, 4 insertions, 4 deletions
diff --git a/BUILD.gn b/BUILD.gn
index 20fdeedf9..a1da931e6 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -300,8 +300,8 @@ spvtools_language_header("cldebuginfo100") {
grammar_file = "${spirv_headers}/include/spirv/unified1/extinst.opencl.debuginfo.100.grammar.json"
}
spvtools_language_header("vkdebuginfo100") {
- name = "NonSemanticVulkanDebugInfo100"
- grammar_file = "source/extinst.nonsemantic.vulkan.debuginfo.100.grammar.json"
+ name = "NonSemanticShaderDebugInfo100"
+ grammar_file = "${spirv_headers}/include/spirv/unified1/extinst.nonsemantic.shader.debuginfo.100.grammar.json"
}
spvtools_vendor_tables = [
@@ -336,8 +336,8 @@ spvtools_vendor_tables = [
]
spvtools_vendor_tables_local = [ [
- "nonsemantic.vulkan.debuginfo.100",
- "VKDEBUG100_",
+ "nonsemantic.shader.debuginfo.100",
+ "SHDEBUG100_",
] ]
foreach(table_def, spvtools_vendor_tables) {