ir3: don't use bitfields in ir3_shader_output

Using bitfields results in nondeterministic bit patterns in the unused
bits. Since ir3_shader_output is stored in the cache, this makes it
difficult to verify cache equality between different builds.

Signed-off-by: Job Noorman <jnoorman@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41999>
This commit is contained in:
Job Noorman 2026-06-03 16:50:31 +02:00 committed by Marge Bot
parent aaf9e01c69
commit 2c5fdc16eb

View file

@ -627,8 +627,8 @@ struct ir3_shader_output {
uint8_t slot;
uint8_t regid;
uint8_t view;
uint8_t aliased_components : 4;
bool half : 1;
uint8_t aliased_components;
bool half;
};
/**