gallium: Refactor some single-pixel util_format_read/writes.
authorEric Anholt <eric@anholt.net>
Fri, 8 Nov 2019 22:56:07 +0000 (14:56 -0800)
committerMarge Bot <eric+marge@anholt.net>
Tue, 4 Feb 2020 19:02:59 +0000 (19:02 +0000)
commit1d367c3aa57da54f5dbd6871a38b9fc1d6cbcc45
tree12824589d9dafbe19c8ef0ad27cfe2d54bd579c9
parentab081970e07d97c4218a68341d8534693d27e474
gallium: Refactor some single-pixel util_format_read/writes.

We can use the new row helpers to cut down on the noise.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/2744>
src/gallium/auxiliary/util/u_pack_color.h
src/gallium/state_trackers/xvmc/subpicture.c
src/gallium/tests/trivial/compute.c