Commit cfa01331 authored by Karol Herbst's avatar Karol Herbst 🐧
Browse files

nv50/ir/nir: fix smem size for GL

Originally I tried to fix where the nir itself has a shared mem size of 0,
but the frontend (here clover) set it to some value. But st/mesa presets
it on the state object and we actually double the value in the end.

Just use max the value and use the biggest one.

Fixes the compute_shader.shared-max CTS test.

Fixes: dc667b1f

 ("nv50/ir/nir: fix smem size")
Signed-off-by: Karol Herbst's avatarKarol Herbst <kherbst@redhat.com>
parent c65c99c7
Pipeline #327494 waiting for manual action with stages
in 8 seconds