From 057e6e5251118623242db637dcde4acaef9fed86 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Fri, 21 Nov 2014 15:07:57 -0800 Subject: i965/gen6/gs: Don't declare a src_reg with struct. Reviewed-by: Kenneth Graunke --- src/mesa/drivers/dri/i965/gen6_gs_visitor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/drivers/dri/i965/gen6_gs_visitor.cpp b/src/mesa/drivers/dri/i965/gen6_gs_visitor.cpp index d16cc6ed8b7..564b4cb02cc 100644 --- a/src/mesa/drivers/dri/i965/gen6_gs_visitor.cpp +++ b/src/mesa/drivers/dri/i965/gen6_gs_visitor.cpp @@ -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), -- cgit v1.2.3