mesa/src/util/format
Eric Anholt 8e2e637480 util/format: Simplify the generated unpack code.
We were declaring the temps, then in the same order declaring
assignments to those temps.  The code is more legible (and shorter)
with the assignments moved in place.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6297>
2021-01-15 18:58:50 +00:00
..
format_utils.h util: Fix UBSan failure on _mesa_unorm_to_unorm. 2021-01-15 18:58:50 +00:00
meson.build util: Add helgrind support for simple_mtx 2020-11-24 21:03:34 +00:00
u_format.c util: function to check for rgbX format 2020-12-09 12:25:31 +00:00
u_format.csv util/format: Fix pack/unpack of A1R5G5B5_UINT. 2021-01-15 18:58:50 +00:00
u_format.h util: function to check for rgbX format 2020-12-09 12:25:31 +00:00
u_format_bptc.c util: Explicitly call the unpack functions from inside bptc pack/unpack. 2020-08-20 05:03:16 +00:00
u_format_bptc.h util: Make all 3 fetch_rgba functions occupy the same function slot. 2020-08-16 21:25:14 +00:00
u_format_etc.c util: Make all 3 fetch_rgba functions occupy the same function slot. 2020-08-16 21:25:14 +00:00
u_format_etc.h util: Make all 3 fetch_rgba functions occupy the same function slot. 2020-08-16 21:25:14 +00:00
u_format_latc.c util: Make all 3 fetch_rgba functions occupy the same function slot. 2020-08-16 21:25:14 +00:00
u_format_latc.h util: Make all 3 fetch_rgba functions occupy the same function slot. 2020-08-16 21:25:14 +00:00
u_format_other.c util: Make all 3 fetch_rgba functions occupy the same function slot. 2020-08-16 21:25:14 +00:00
u_format_other.h util: Make all 3 fetch_rgba functions occupy the same function slot. 2020-08-16 21:25:14 +00:00
u_format_pack.py util/format: Simplify the generated unpack code. 2021-01-15 18:58:50 +00:00
u_format_parse.py Revert "gallium: Fix big-endian addressing of non-bitmask array formats." 2020-02-11 00:53:04 +00:00
u_format_rgtc.c util: Make all 3 fetch_rgba functions occupy the same function slot. 2020-08-16 21:25:14 +00:00
u_format_rgtc.h util: Make all 3 fetch_rgba functions occupy the same function slot. 2020-08-16 21:25:14 +00:00
u_format_s3tc.c util: Make all 3 fetch_rgba functions occupy the same function slot. 2020-08-16 21:25:14 +00:00
u_format_s3tc.h util: Make all 3 fetch_rgba functions occupy the same function slot. 2020-08-16 21:25:14 +00:00
u_format_table.py util/formats: Add PIPE_FORMAT_R8_G8B8_420_UNORM 2020-10-08 09:37:14 +00:00
u_format_tests.c mesa: Implement GL_EXT_texture_sRGB_RG8 for softpipe and llvmpipe 2021-01-04 21:19:35 +00:00
u_format_tests.h
u_format_yuv.c util: Make all 3 fetch_rgba functions occupy the same function slot. 2020-08-16 21:25:14 +00:00
u_format_yuv.h util: Make all 3 fetch_rgba functions occupy the same function slot. 2020-08-16 21:25:14 +00:00
u_format_zs.c util: Give a reasonable answer when unpacking z32unorm from floats. 2021-01-15 18:58:50 +00:00
u_format_zs.h util/format_zs: Add C++ include handling 2020-11-10 15:37:07 +00:00