panvk: Fix set_compute_sysval()
BITSET_SET_RANGE() was passed sysval_fau_start() instead of
sysval_fau_end() as a 3rd argument.
Fixes: ae76a6a045 ("panvk: Pack push constants")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/14489
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38980>
This commit is contained in:
@@ -53,7 +53,7 @@ struct panvk_cmd_compute_state {
|
||||
&__new_sysval.__name, sizeof(__new_sysval.__name))) { \
|
||||
(__cmdbuf)->state.compute.sysvals.__name = __new_sysval.__name; \
|
||||
BITSET_SET_RANGE(__dirty, sysval_fau_start(compute, __name), \
|
||||
sysval_fau_start(compute, __name)); \
|
||||
sysval_fau_end(compute, __name)); \
|
||||
} \
|
||||
} while (0)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user