Commit ea6bd94
committed
Update SPIRV-Tools for O1experimental VariablePointers cleanup
Pull in the companion SPIRV-Tools change that adds a dedicated
TrimVariablePointersCapabilitiesPass at the end of the O1experimental fast
performance recipe.
The follow-up fixes a real sampler regression where the final optimized
module still carried stale VariablePointers / VariablePointersStorageBuffer
capability declarations even though the final IR no longer contained the
pointer forms that required them. The failing EX37 shader remained
validator-legal and had only scalar OpSelect %float, but removing only
those stale capability lines fixed the downstream runtime corruption.
Keep the default trim path untouched by keeping the cleanup isolated to the
experimental fast path in SPIRV-Tools.1 parent 899afef commit ea6bd94
1 file changed
+1
-1
lines changedSubmodule SPIRV-Tools updated 8 files
- BUILD.gn+2
- include/spirv-tools/optimizer.hpp+6
- source/opt/CMakeLists.txt+2
- source/opt/optimizer.cpp+8-2
- source/opt/trim_variable_pointers_capabilities_pass.cpp+343
- source/opt/trim_variable_pointers_capabilities_pass.h+40
- test/opt/CMakeLists.txt+1
- test/opt/trim_variable_pointers_capabilities_pass_test.cpp+222
0 commit comments