aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2016-03-01 15:27:45 -0800
committerMatt Turner <[email protected]>2016-03-02 07:28:52 -0800
commitad175113023ec0f67bf51275d0aac20d9e3ea0b9 (patch)
tree3313f9eb6df9540e2b88928f6814ff254fb02175
parent43f74ac67c238d75bab2ededfe9d7d714f384414 (diff)
i965/gen6/gs: Replace V-immediate with VF-immediate.
Reviewed-by: Francisco Jerez <[email protected]>
-rw-r--r--src/mesa/drivers/dri/i965/gen6_gs_visitor.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mesa/drivers/dri/i965/gen6_gs_visitor.cpp b/src/mesa/drivers/dri/i965/gen6_gs_visitor.cpp
index 9935557ae70..08f9bb3330a 100644
--- a/src/mesa/drivers/dri/i965/gen6_gs_visitor.cpp
+++ b/src/mesa/drivers/dri/i965/gen6_gs_visitor.cpp
@@ -611,11 +611,11 @@ gen6_gs_visitor::xfb_write()
emit(CMP(dst_null_d(), sol_temp, this->max_svbi, BRW_CONDITIONAL_LE));
emit(IF(BRW_PREDICATE_NORMAL));
{
- src_reg destination_indices_uw =
- retype(destination_indices, BRW_REGISTER_TYPE_UW);
-
- vec4_instruction *inst = emit(MOV(dst_reg(destination_indices_uw),
- brw_imm_v(0x00020100))); /* (0, 1, 2) */
+ vec4_instruction *inst = emit(MOV(dst_reg(destination_indices),
+ brw_imm_vf4(brw_float_to_vf(0.0),
+ brw_float_to_vf(1.0),
+ brw_float_to_vf(2.0),
+ brw_float_to_vf(0.0))));
inst->force_writemask_all = true;
emit(ADD(dst_reg(this->destination_indices),