[nir_op_frsq] = gpir_op_rsqrt,
[nir_op_slt] = gpir_op_lt,
[nir_op_sge] = gpir_op_ge,
- [nir_op_bcsel] = gpir_op_select,
+ [nir_op_fcsel] = gpir_op_select,
[nir_op_ffloor] = gpir_op_floor,
[nir_op_fsign] = gpir_op_sign,
[nir_op_seq] = gpir_op_eq,
[nir_op_sne] = ppir_op_ne,
[nir_op_fne] = ppir_op_ne,
[nir_op_fnot] = ppir_op_not,
- [nir_op_bcsel] = ppir_op_select,
+ [nir_op_fcsel] = ppir_op_select,
[nir_op_inot] = ppir_op_not,
- [nir_op_b2f32] = ppir_op_mov,
};
static ppir_node *ppir_emit_alu(ppir_block *block, nir_instr *ni)
NIR_PASS_V(s, lima_nir_lower_uniform_to_scalar);
NIR_PASS_V(s, nir_lower_io_to_scalar,
nir_var_shader_in|nir_var_shader_out);
+ NIR_PASS_V(s, nir_lower_bool_to_float);
do {
progress = false;
NIR_PASS_V(s, nir_lower_io, nir_var_all, type_size, 0);
NIR_PASS_V(s, nir_lower_regs_to_ssa);
+ NIR_PASS_V(s, nir_lower_bool_to_float);
do {
progress = false;