nir/lower_io: Use the variable mode for load_scratch_base_ptr checks
authorJason Ekstrand <jason@jlekstrand.net>
Mon, 17 Aug 2020 16:53:47 +0000 (11:53 -0500)
committerMarge Bot <eric+marge@anholt.net>
Tue, 1 Sep 2020 20:50:03 +0000 (20:50 +0000)
commit965c2688657016cc313baac8b26de5141d5684c0
tree98b4eb5ffd84fd32a4ef20a997981ab79e16b781
parentff124e3fe3e89c594b91e62d3e233cfc2af3ef34
nir/lower_io: Use the variable mode for load_scratch_base_ptr checks

Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6379>
src/compiler/nir/nir_lower_io.c