i965/gen6/gs: Don't declare a src_reg with struct.
authorMatt Turner <mattst88@gmail.com>
Fri, 21 Nov 2014 23:07:57 +0000 (15:07 -0800)
committerMatt Turner <mattst88@gmail.com>
Mon, 24 Nov 2014 22:09:23 +0000 (14:09 -0800)
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/gen6_gs_visitor.cpp

index d16cc6ed8b76852d3e24ae3f0193f294d688d239..564b4cb02cc420c3025d003b3ade7e086a71ba2e 100644 (file)
@@ -632,7 +632,7 @@ gen6_gs_visitor::xfb_write()
    emit(CMP(dst_null_d(), sol_temp, this->max_svbi, BRW_CONDITIONAL_LE));
    emit(IF(BRW_PREDICATE_NORMAL));
    {
-      struct src_reg destination_indices_uw =
+      src_reg destination_indices_uw =
          retype(destination_indices, BRW_REGISTER_TYPE_UW);
 
       vec4_instruction *inst = emit(MOV(dst_reg(destination_indices_uw),