From 2c5fdc16eb8c8dd22d27d199052f7de504693297 Mon Sep 17 00:00:00 2001 From: Job Noorman Date: Wed, 3 Jun 2026 16:50:31 +0200 Subject: [PATCH] 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 Part-of: --- src/freedreno/ir3/ir3_shader.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/freedreno/ir3/ir3_shader.h b/src/freedreno/ir3/ir3_shader.h index 27d4ea2e119..283cb5e7c84 100644 --- a/src/freedreno/ir3/ir3_shader.h +++ b/src/freedreno/ir3/ir3_shader.h @@ -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; }; /**