From: Matt Turner Date: Fri, 21 Nov 2014 23:07:57 +0000 (-0800) Subject: i965/gen6/gs: Don't declare a src_reg with struct. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=057e6e5251118623242db637dcde4acaef9fed86;p=mesa.git i965/gen6/gs: Don't declare a src_reg with struct. Reviewed-by: Kenneth Graunke --- 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),