mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-11 03:40:22 +01:00
glsl-to-tgsi: handle ir_unop_round_even
This commit is contained in:
parent
09497e020a
commit
fc7ac4da7d
1 changed files with 4 additions and 1 deletions
|
|
@ -1781,6 +1781,9 @@ glsl_to_tgsi_visitor::visit(ir_expression *ir)
|
|||
case ir_unop_floor:
|
||||
emit(ir, TGSI_OPCODE_FLR, result_dst, op[0]);
|
||||
break;
|
||||
case ir_unop_round_even:
|
||||
emit(ir, TGSI_OPCODE_ROUND, result_dst, op[0]);
|
||||
break;
|
||||
case ir_unop_fract:
|
||||
emit(ir, TGSI_OPCODE_FRC, result_dst, op[0]);
|
||||
break;
|
||||
|
|
@ -1830,7 +1833,7 @@ glsl_to_tgsi_visitor::visit(ir_expression *ir)
|
|||
emit(ir, TGSI_OPCODE_OR, result_dst, op[0], op[1]);
|
||||
break;
|
||||
}
|
||||
case ir_unop_round_even:
|
||||
|
||||
assert(!"GLSL 1.30 features unsupported");
|
||||
break;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue