zink: explicitly set nir cursor in rewrite_and_discard_read
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Fri, 29 Jul 2022 15:36:10 +0000 (11:36 -0400)
committerMarge Bot <emma+marge@anholt.net>
Fri, 5 Aug 2022 03:51:04 +0000 (03:51 +0000)
commitf60f246426af08989c78439a20124da24083ff8e
tree9fb635833e2efa1fd69c5a56127a7fcf24e6a0c6
parent721f33cd0fc9756c4db5cc88bccc46c977ad05f3
zink: explicitly set nir cursor in rewrite_and_discard_read

not sure if this is a bug but it looks weird

Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17775>
src/gallium/drivers/zink/zink_compiler.c