mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-22 14:10:30 +01:00
nak/nir: Don't lower 1-bit phis
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24998>
This commit is contained in:
parent
8d802553a2
commit
29804bfd26
1 changed files with 1 additions and 1 deletions
|
|
@ -168,7 +168,7 @@ lower_bit_size_cb(const nir_instr *instr, void *_data)
|
|||
|
||||
case nir_instr_type_phi: {
|
||||
nir_phi_instr *phi = nir_instr_as_phi(instr);
|
||||
if (phi->def.bit_size != 32)
|
||||
if (phi->def.bit_size != 32 && phi->def.bit_size != 1)
|
||||
return 32;
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue