KhronosGroup / KhronosGroup/Vulkan-ValidationLayers
Add a OpAssumeTrueKHR feature in GPU-AV
Open
GPU-AV
- Dominant language
- C++
- Stars
- 1k
- Forks
- 504
- Avg merge
- 11h 35m
- Merged PRs (30d)
- 224
Description
The `OpAssumeTrueKHR` added in `VK_KHR_shader_expect_assume` could be instrumented like a DebugPrintf and let the user know if a `OpAssumeTrueKHR` was hit or not
If the driver doesn't support `VK_KHR_shader_expect_assume` we could replace the `OpAssumeTrueKHR` with our check and it would allow everyone to use it
GLSL currently supports generating this https://github.com/KhronosGroup/glslang/pull/3490
Contributor guide
Assessment
This issue has not been assessed yet.