mesa/src/util/tests
Eric Anholt 2b5178ee48 util: Switch the non-block formats to unpacking rgba rows instead of rects.
We have only a few callers of unpack that do rects, so add a helper that
iterates over y adding the strides.  This saves us 36kb of generated code
and means that adding cpu-specific variants for RGBA format unpack will be
much simpler.

Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10014>
2021-04-19 17:59:44 +00:00
..
cache util/disk_cache: move cache tests to the util directory 2021-03-02 02:39:05 +00:00
drirc_configdir xmlconfig: Add unit tests for recent bugs in the driconf rewrite. 2020-12-04 21:32:17 +00:00
drirc_home xmlconfig: Add unit tests for recent bugs in the driconf rewrite. 2020-12-04 21:32:17 +00:00
fast_idiv_by_const meson: inline inc_common 2020-03-28 21:36:54 +01:00
fast_urem_by_const meson: inline inc_common 2020-03-28 21:36:54 +01:00
format util: Switch the non-block formats to unpacking rgba rows instead of rects. 2021-04-19 17:59:44 +00:00
hash_table util/hash_table: add macro for destructively iterating entries 2021-04-07 22:57:27 +00:00
set util/set: add macro for destructively iterating set entries 2021-04-07 22:57:27 +00:00
sparse_array meson: inline inc_common 2020-03-28 21:36:54 +01:00
string_buffer meson: inline inc_common 2020-03-28 21:36:54 +01:00
timespec meson: inline inc_common 2020-03-28 21:36:54 +01:00
vector meson: inline inc_common 2020-03-28 21:36:54 +01:00
vma util/vma: Fix leak of the heap in the unit test. 2020-12-15 19:39:29 +00:00
xmlconfig.cpp driconf: Fix memory leak in the unit test. 2020-12-15 19:39:29 +00:00