mirror of
https://github.com/KhronosGroup/SPIRV-Tools
synced 2025-01-08 07:40:15 +00:00
[OPT] Add SPV_KHR_ray_tracing_position_fetch to allow lists (#5757)
Fixes https://github.com/microsoft/DirectXShaderCompiler/issues/6844
This commit is contained in:
parent
e8c2fbca1e
commit
0c40b591a3
@ -1011,7 +1011,8 @@ void AggressiveDCEPass::InitExtensions() {
|
||||
"SPV_EXT_fragment_shader_interlock",
|
||||
"SPV_NV_compute_shader_derivatives",
|
||||
"SPV_NV_cooperative_matrix",
|
||||
"SPV_KHR_cooperative_matrix"
|
||||
"SPV_KHR_cooperative_matrix",
|
||||
"SPV_KHR_ray_tracing_position_fetch"
|
||||
});
|
||||
// clang-format on
|
||||
}
|
||||
|
@ -429,7 +429,8 @@ void LocalAccessChainConvertPass::InitExtensions() {
|
||||
"SPV_KHR_fragment_shader_barycentric", "SPV_KHR_vulkan_memory_model",
|
||||
"SPV_NV_bindless_texture", "SPV_EXT_shader_atomic_float_add",
|
||||
"SPV_EXT_fragment_shader_interlock", "SPV_NV_compute_shader_derivatives",
|
||||
"SPV_NV_cooperative_matrix", "SPV_KHR_cooperative_matrix"});
|
||||
"SPV_NV_cooperative_matrix", "SPV_KHR_cooperative_matrix",
|
||||
"SPV_KHR_ray_tracing_position_fetch"});
|
||||
}
|
||||
|
||||
bool LocalAccessChainConvertPass::AnyIndexIsOutOfBounds(
|
||||
|
@ -293,7 +293,8 @@ void LocalSingleBlockLoadStoreElimPass::InitExtensions() {
|
||||
"SPV_EXT_fragment_shader_interlock",
|
||||
"SPV_NV_compute_shader_derivatives",
|
||||
"SPV_NV_cooperative_matrix",
|
||||
"SPV_KHR_cooperative_matrix"});
|
||||
"SPV_KHR_cooperative_matrix",
|
||||
"SPV_KHR_ray_tracing_position_fetch"});
|
||||
}
|
||||
|
||||
} // namespace opt
|
||||
|
@ -143,7 +143,8 @@ void LocalSingleStoreElimPass::InitExtensionAllowList() {
|
||||
"SPV_EXT_fragment_shader_interlock",
|
||||
"SPV_NV_compute_shader_derivatives",
|
||||
"SPV_NV_cooperative_matrix",
|
||||
"SPV_KHR_cooperative_matrix"});
|
||||
"SPV_KHR_cooperative_matrix",
|
||||
"SPV_KHR_ray_tracing_position_fetch"});
|
||||
}
|
||||
bool LocalSingleStoreElimPass::ProcessVariable(Instruction* var_inst) {
|
||||
std::vector<Instruction*> users;
|
||||
|
Loading…
Reference in New Issue
Block a user