mesa/src/util/format
Dave Airlie 8258726d90 util/format: add helper to check if a format is scaled.
lavapipe/llvmpipe need this to rule out scaled formats for non-vertex
format usage. Note NONE is defined as scaled in u_format, but for
the purposes of this helper I don't want it to be considered scaled.

Reviewed-by: Adam Jackson <ajax@redhat.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8907>
2021-02-16 05:31:11 +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/format: add helper to check if a format is scaled. 2021-02-16 05:31:11 +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/format: add helper to check if a format is scaled. 2021-02-16 05:31:11 +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