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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user