mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
etnaviv: fix bitmask typo
Fixes: d92689c46f ("etnaviv: nir: add native integers (HALTI2+)")
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Jonathan Marek <jonathan@marek.ca>
This commit is contained in:
parent
855dc17fcf
commit
0efc253f02
1 changed files with 1 additions and 1 deletions
|
|
@ -150,7 +150,7 @@ static inline struct etna_inst_src
|
|||
etna_immediate_float(float x)
|
||||
{
|
||||
uint32_t bits = fui(x);
|
||||
assert((bits && 0xfff) == 0); /* 12 lsb cut off */
|
||||
assert((bits & 0xfff) == 0); /* 12 lsb cut off */
|
||||
return etna_immediate_src(0, bits >> 12);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue