mesa/src/panfrost/lib/tests
Erik Faye-Lund fed682c506 pan/lib: do not duplicate enum mali_pixel_kill
The enum pan_earlyzs is just enum mali_pixel_kill under a different
name, which was needed because the enum was missing from common.xml.

However, because pan_earlyzs_lut is used in files that are both included
with PAN_ARCH unset and set to values including values lower than 6, we
get issues with the way genxml/common_pack.h gets included, resulting in
the enum not being defined.

We don't really depend on the values for this, only on the size. So
let's just use unsigned values in the struct instead, to side-step the
issue.

Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Tested-by: Yiwei Zhang <zzyiwei@chromium.org>
Reviewed-by: Eric R. Smith <eric.smith@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36606>
2025-08-20 00:05:36 +00:00
..
test-attribute.c pan/lib: Add a test for pan_compute_npot_divisor 2025-06-14 17:20:10 +02:00
test-blend.c panfrost: Convert to PIPE_BLEND enums internally 2023-07-13 21:03:32 +00:00
test-clear.c pan: Use a consistent pan_ prefix across src/panfrost/* 2025-05-21 14:58:20 +02:00
test-earlyzs.cpp pan/lib: do not duplicate enum mali_pixel_kill 2025-08-20 00:05:36 +00:00
test-layout.cpp panfrost: Test pan_afbc_payload_layout_packed() 2025-07-12 11:58:14 +00:00