mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 12:28:07 +02:00
pan/bi: Lower is_helper_invocation
Needed for VK_EXT_shader_demote_to_helper_invocation. Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com> Reviewed-by: Lars-Ivar Hesselberg Simonsen <lars-ivar.simonsen@arm.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34676>
This commit is contained in:
parent
59c307a3f3
commit
cd4400e27b
1 changed files with 5 additions and 1 deletions
|
|
@ -5796,7 +5796,11 @@ bifrost_preprocess_nir(nir_shader *nir, unsigned gpu_id)
|
|||
NIR_PASS(_, nir, nir_lower_ssbo, &ssbo_opts);
|
||||
|
||||
NIR_PASS(_, nir, pan_lower_sample_pos);
|
||||
NIR_PASS(_, nir, pan_lower_helper_invocation);
|
||||
|
||||
if (nir->info.stage == MESA_SHADER_FRAGMENT) {
|
||||
NIR_PASS(_, nir, nir_lower_is_helper_invocation);
|
||||
NIR_PASS(_, nir, pan_lower_helper_invocation);
|
||||
}
|
||||
|
||||
/*
|
||||
* Lower subgroups ops before lowering int64: nir_lower_int64 doesn't know
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue