gallium/auxiliary/vl: Map range when updating constants
authorDavid Rosca <nowrep@gmail.com>
Mon, 14 Aug 2023 06:58:01 +0000 (08:58 +0200)
committerMarge Bot <emma+marge@anholt.net>
Tue, 5 Sep 2023 21:31:43 +0000 (21:31 +0000)
commita90b9f1d1e5e69a386cd3fc848e5004677ba6e3b
tree1749f2fe462995bc89b10dacd1ac4197de592106
parent7c8e1596d6ef12c27ffe713b173023b1e38e52cb
gallium/auxiliary/vl: Map range when updating constants

Use WRITE | DISCARD_RANGE to avoid having to read back the csc matrix
and luma min/max values.

Acked-by: Leo Liu <leo.liu@amd.com>
Reviewed-by: Thong Thai <thong.thai@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24869>
src/gallium/auxiliary/vl/vl_compositor_cs.c