nv50/ir/nir: fix cache mode conversion
authorKarol Herbst <kherbst@redhat.com>
Mon, 6 Jul 2020 18:06:40 +0000 (20:06 +0200)
committerMarge Bot <eric+marge@anholt.net>
Tue, 7 Jul 2020 11:32:15 +0000 (11:32 +0000)
commitbbf2db20fef7a0cd9188c92790a60eff6900bfdc
tree2d11951e342a15c4cda7a681d9b59678f21c8060
parent31e344799a701630164f6f7907b09e5699a769d9
nv50/ir/nir: fix cache mode conversion

The nir access qualifier is actually a bitfield, so we need to read out
like one.

Signed-off-by: Karol Herbst <kherbst@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5747>
src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp