amd: Remove bitfield sizes from enum values
Fixes negative indexing on MSVC. Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7791>
This commit is contained in:
parent
31b4fdc008
commit
ee72cd0757
|
@ -391,9 +391,9 @@ enum ac_image_cache_policy
|
|||
};
|
||||
|
||||
struct ac_image_args {
|
||||
enum ac_image_opcode opcode : 4;
|
||||
enum ac_atomic_op atomic : 4; /* for the ac_image_atomic opcode */
|
||||
enum ac_image_dim dim : 3;
|
||||
enum ac_image_opcode opcode;
|
||||
enum ac_atomic_op atomic; /* for the ac_image_atomic opcode */
|
||||
enum ac_image_dim dim;
|
||||
unsigned dmask : 4;
|
||||
unsigned cache_policy : 3;
|
||||
bool unorm : 1;
|
||||
|
|
Loading…
Reference in New Issue