DirectXShaderCompiler/external
Nathan Gauër da36098644
[SPIR-V] Add capability trimming pass (#5518)
This new optimization passes determines the required capabilities for a
module, and strips unneeded capabilities.
This means if some dead-code uses a capability, it won't be added as a
requirement for the module anymore.

This interacts with `[[vk::ext_capabilities]]` and
[[vk::ext_extension]]` attributes, as the extension/capability they
declare could be stripped if not required.

Still markes as draft for now as there are inconsistencies with debug
instruction I need to figure out:
 - if 2 DebugScope are generated, SPIRV-Tools squash them into 1.
- seems like we started to generated the wrong ones, but test didn't saw
the 2 conflicting scopes, only checked the first one.
2023-08-24 13:18:19 +02:00
..
DirectX-Headers@980971e835 [linux] Enable Reflection on *nix platforms (#4810) 2022-11-23 19:10:29 -07:00
SPIRV-Headers@124a9665e4 prepare LunarG SDK v2023.4.rc2 release (#5511) 2023-08-08 10:50:08 -04:00
SPIRV-Tools@c558886610 [SPIR-V] Add capability trimming pass (#5518) 2023-08-24 13:18:19 +02:00
effcee@66edefd2bb Update SPIRV-Tools to version v2023.3.rc1 (#5219) 2023-05-17 14:33:38 +02:00
re2@b76a3eac1d Update SPIRV-Tools to version v2023.3.rc1 (#5219) 2023-05-17 14:33:38 +02:00
CMakeLists.txt Silence cmake endif mismatch warning (#5005) 2023-02-09 08:08:14 +00:00
GTestConfig.cmake [linux-port] Fix spirv test warnings (#1337) 2018-06-02 04:16:29 -04:00