summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/i965/brw_vec4_emit.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vec4_emit.cpp b/src/mesa/drivers/dri/i965/brw_vec4_emit.cpp
index c9fdc16b513..a16242068c0 100644
--- a/src/mesa/drivers/dri/i965/brw_vec4_emit.cpp
+++ b/src/mesa/drivers/dri/i965/brw_vec4_emit.cpp
@@ -65,6 +65,7 @@ vec4_visitor::setup_attributes(int payload_reg)
int grf = attribute_map[inst->dst.reg + inst->dst.reg_offset];
struct brw_reg reg = brw_vec8_grf(grf, 0);
+ reg.type = inst->dst.type;
reg.dw1.bits.writemask = inst->dst.writemask;
inst->dst.file = HW_REG;