mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 10:50:10 +01:00
nir: Workaround MSVC internal compiler error in ARM64 build
Changes a variable type from `nir_component_mask_t` to `uint32_t`. The variable's name suggests it may have been meant to be a 32-bit integer anyway. Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25691>
This commit is contained in:
parent
97553affc6
commit
7d0ae38ef7
1 changed files with 1 additions and 1 deletions
|
|
@ -519,7 +519,7 @@ lower_store(nir_intrinsic_instr *intrin, struct lower_io_state *state,
|
|||
BITFIELD_RANGE(src_comp, num_comps));
|
||||
nir_def *data32 = nir_bitcast_vector(b, data, 32);
|
||||
|
||||
nir_component_mask_t write_mask32 = 0;
|
||||
uint32_t write_mask32 = 0;
|
||||
for (unsigned i = 0; i < num_comps; i++) {
|
||||
if (write_mask & BITFIELD_MASK(num_comps) & (1 << i))
|
||||
write_mask32 |= 3 << (i * 2);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue