mirror of
https://github.com/KhronosGroup/SPIRV-Tools
synced 2024-11-23 04:00:05 +00:00
opt: Run DCE when SPV_KHR_shader_clock is used (#4049)
Similar to [1] DCE should be ran when this extension is enabled to prevent unused bindings from showing up (in particular atomic counters attached to buffers). [1]: https://github.com/KhronosGroup/SPIRV-Tools/pull/4047
This commit is contained in:
parent
b27b1afd12
commit
bda102d7a7
@ -995,6 +995,7 @@ void AggressiveDCEPass::InitExtensions() {
|
||||
"SPV_EXT_fragment_invocation_density",
|
||||
"SPV_EXT_physical_storage_buffer",
|
||||
"SPV_KHR_terminate_invocation",
|
||||
"SPV_KHR_shader_clock",
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user