diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_fs_visitor.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp b/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp index e70d6bf89c5..5885989e76e 100644 --- a/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp @@ -506,9 +506,11 @@ fs_visitor::visit(ir_expression *ir) break; case ir_unop_f2b: - case ir_unop_i2b: emit(CMP(this->result, op[0], fs_reg(0.0f), BRW_CONDITIONAL_NZ)); break; + case ir_unop_i2b: + emit(CMP(this->result, op[0], fs_reg(0), BRW_CONDITIONAL_NZ)); + break; case ir_unop_trunc: emit(RNDZ(this->result, op[0])); |