nir/lower_clip: location offset goes into offset, not base
authorIlia Mirkin <imirkin@alum.mit.edu>
Mon, 22 Nov 2021 22:54:09 +0000 (17:54 -0500)
committerMarge Bot <emma+marge@anholt.net>
Sun, 28 Nov 2021 04:44:56 +0000 (04:44 +0000)
commit3bf47700e2ad504bd6ee493f93c7dd1e0a7b7dbd
tree69ac4bc48d019923e094032878f9b9bb917e9002
parenta8930e63028b52420b24e238263db50fa8ca2c30
nir/lower_clip: location offset goes into offset, not base

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Emma Anholt <emma@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13917>
src/compiler/nir/nir_lower_clip.c