mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 02:48:06 +02:00
pan/compiler: Handle ssbo_atomics in lower_vs_atomics
This way the pass does not depend on lower_ssbo anymore Signed-off-by: Lorenzo Rossi <lorenzo.rossi@collabora.com> Reviewed-by: Christoph Pillmayer <christoph.pillmayer@arm.com> Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40924>
This commit is contained in:
parent
408d03291d
commit
dd96a1514b
1 changed files with 2 additions and 1 deletions
|
|
@ -1155,7 +1155,8 @@ static bool
|
|||
bifrost_nir_lower_vs_atomics_impl(nir_builder *b, nir_intrinsic_instr *intr,
|
||||
UNUSED void *data)
|
||||
{
|
||||
if (intr->intrinsic != nir_intrinsic_global_atomic)
|
||||
if (intr->intrinsic != nir_intrinsic_global_atomic &&
|
||||
intr->intrinsic != nir_intrinsic_ssbo_atomic)
|
||||
return false;
|
||||
|
||||
unsigned output_mask = 0;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue