mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-10 03:28:18 +02:00
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:
parent
aaf9e01c69
commit
2c5fdc16eb
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue