microsoft/compiler: Images are no longer reprensented by uniform vars
authorBoris Brezillon <boris.brezillon@collabora.com>
Fri, 22 Apr 2022 12:45:49 +0000 (14:45 +0200)
committerMarge Bot <emma+marge@anholt.net>
Tue, 14 Jun 2022 22:44:42 +0000 (22:44 +0000)
commit303175cfecb166cc69736c1405ac2d3bbee9d82c
tree9bbabba64f9cc26fc4ac13974284c996ad512055
parentcdbc8a8c85fff0bb2cabb384cf3f310f42fca1be
microsoft/compiler: Images are no longer reprensented by uniform vars

emit_barrier_impl() was still checking the nir_var_uniform flag to
detect images, which is no longer correct.

Fixes: cfdc7ee066e ("spirv: Use nir_var_mem_image")
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16926>
src/microsoft/compiler/nir_to_dxil.c