mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 02:28:10 +02:00
i965/fs: Allow SIMD16 borrow/carry/64-bit multiply on Gen > 7.
These checks were intended for Gen 7 only. None of these restrictions apply to Gen 8. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
This commit is contained in:
parent
05586f9bc1
commit
9f5e5bd34d
1 changed files with 3 additions and 3 deletions
|
|
@ -648,7 +648,7 @@ fs_visitor::visit(ir_expression *ir)
|
|||
}
|
||||
break;
|
||||
case ir_binop_imul_high: {
|
||||
if (brw->gen >= 7)
|
||||
if (brw->gen == 7)
|
||||
no16("SIMD16 explicit accumulator operands unsupported\n");
|
||||
|
||||
struct brw_reg acc = retype(brw_acc_reg(dispatch_width),
|
||||
|
|
@ -685,7 +685,7 @@ fs_visitor::visit(ir_expression *ir)
|
|||
emit_math(SHADER_OPCODE_INT_QUOTIENT, this->result, op[0], op[1]);
|
||||
break;
|
||||
case ir_binop_carry: {
|
||||
if (brw->gen >= 7)
|
||||
if (brw->gen == 7)
|
||||
no16("SIMD16 explicit accumulator operands unsupported\n");
|
||||
|
||||
struct brw_reg acc = retype(brw_acc_reg(dispatch_width),
|
||||
|
|
@ -696,7 +696,7 @@ fs_visitor::visit(ir_expression *ir)
|
|||
break;
|
||||
}
|
||||
case ir_binop_borrow: {
|
||||
if (brw->gen >= 7)
|
||||
if (brw->gen == 7)
|
||||
no16("SIMD16 explicit accumulator operands unsupported\n");
|
||||
|
||||
struct brw_reg acc = retype(brw_acc_reg(dispatch_width),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue