mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 11:00:11 +01:00
nir: fix lower_{int,bool}_to_float for new mov opcode
It is treated like the vecN instructions which also have no type. Signed-off-by: Jonathan Marek <jonathan@marek.ca> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
This commit is contained in:
parent
f889180ee1
commit
f6579ee204
2 changed files with 2 additions and 0 deletions
|
|
@ -52,6 +52,7 @@ lower_alu_instr(nir_builder *b, nir_alu_instr *alu)
|
|||
/* Replacement SSA value */
|
||||
nir_ssa_def *rep = NULL;
|
||||
switch (alu->op) {
|
||||
case nir_op_mov:
|
||||
case nir_op_vec2:
|
||||
case nir_op_vec3:
|
||||
case nir_op_vec4:
|
||||
|
|
|
|||
|
|
@ -54,6 +54,7 @@ lower_alu_instr(nir_builder *b, nir_alu_instr *alu)
|
|||
/* Replacement SSA value */
|
||||
nir_ssa_def *rep = NULL;
|
||||
switch (alu->op) {
|
||||
case nir_op_mov:
|
||||
case nir_op_vec2:
|
||||
case nir_op_vec3:
|
||||
case nir_op_vec4:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue