mirror of
https://github.com/KhronosGroup/SPIRV-Tools
synced 2024-11-21 19:20:07 +00:00
opt: add KHR_fragment_shading_rate to allowlist (#5859)
Allowing this extensions to the few gated optimization passes. Signed-off-by: Nathan Gauër <brioche@google.com>
This commit is contained in:
parent
ba37b3b513
commit
895bb9ffec
@ -1029,7 +1029,8 @@ void AggressiveDCEPass::InitExtensions() {
|
||||
"SPV_KHR_compute_shader_derivatives",
|
||||
"SPV_NV_cooperative_matrix",
|
||||
"SPV_KHR_cooperative_matrix",
|
||||
"SPV_KHR_ray_tracing_position_fetch"
|
||||
"SPV_KHR_ray_tracing_position_fetch",
|
||||
"SPV_KHR_fragment_shading_rate"
|
||||
});
|
||||
// clang-format on
|
||||
}
|
||||
|
@ -430,7 +430,8 @@ void LocalAccessChainConvertPass::InitExtensions() {
|
||||
"SPV_NV_bindless_texture", "SPV_EXT_shader_atomic_float_add",
|
||||
"SPV_EXT_fragment_shader_interlock",
|
||||
"SPV_KHR_compute_shader_derivatives", "SPV_NV_cooperative_matrix",
|
||||
"SPV_KHR_cooperative_matrix", "SPV_KHR_ray_tracing_position_fetch"});
|
||||
"SPV_KHR_cooperative_matrix", "SPV_KHR_ray_tracing_position_fetch",
|
||||
"SPV_KHR_fragment_shading_rate"});
|
||||
}
|
||||
|
||||
bool LocalAccessChainConvertPass::AnyIndexIsOutOfBounds(
|
||||
|
@ -294,7 +294,8 @@ void LocalSingleBlockLoadStoreElimPass::InitExtensions() {
|
||||
"SPV_KHR_compute_shader_derivatives",
|
||||
"SPV_NV_cooperative_matrix",
|
||||
"SPV_KHR_cooperative_matrix",
|
||||
"SPV_KHR_ray_tracing_position_fetch"});
|
||||
"SPV_KHR_ray_tracing_position_fetch",
|
||||
"SPV_KHR_fragment_shading_rate"});
|
||||
}
|
||||
|
||||
} // namespace opt
|
||||
|
@ -144,7 +144,8 @@ void LocalSingleStoreElimPass::InitExtensionAllowList() {
|
||||
"SPV_KHR_compute_shader_derivatives",
|
||||
"SPV_NV_cooperative_matrix",
|
||||
"SPV_KHR_cooperative_matrix",
|
||||
"SPV_KHR_ray_tracing_position_fetch"});
|
||||
"SPV_KHR_ray_tracing_position_fetch",
|
||||
"SPV_KHR_fragment_shading_rate"});
|
||||
}
|
||||
bool LocalSingleStoreElimPass::ProcessVariable(Instruction* var_inst) {
|
||||
std::vector<Instruction*> users;
|
||||
|
Loading…
Reference in New Issue
Block a user