mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-07 00:00:12 +01:00
nir/format_convert: Fix a bitmask in unpack_11f11f10f
Fixes: 4e337b42f9 "nir/format_convert: Add pack/unpack for R11F_G11F_B10F"
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
parent
1f7be4968f
commit
7cdf8f9339
1 changed files with 1 additions and 1 deletions
|
|
@ -288,7 +288,7 @@ nir_format_unpack_11f11f10f(nir_builder *b, nir_ssa_def *packed)
|
|||
{
|
||||
nir_ssa_def *chans[3];
|
||||
chans[0] = nir_mask_shift(b, packed, 0x000007ff, 4);
|
||||
chans[1] = nir_mask_shift(b, packed, 0x003ff100, -7);
|
||||
chans[1] = nir_mask_shift(b, packed, 0x003ff800, -7);
|
||||
chans[2] = nir_mask_shift(b, packed, 0xffc00000, -17);
|
||||
|
||||
for (unsigned i = 0; i < 3; i++)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue