Mesa (master): i965/gen6/gs: Don't declare a src_reg with struct.

Matt Turner mattst88 at kemper.freedesktop.org
Mon Nov 24 22:12:35 UTC 2014


Module: Mesa
Branch: master
Commit: 057e6e5251118623242db637dcde4acaef9fed86
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=057e6e5251118623242db637dcde4acaef9fed86

Author: Matt Turner <mattst88 at gmail.com>
Date:   Fri Nov 21 15:07:57 2014 -0800

i965/gen6/gs: Don't declare a src_reg with struct.

Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

---

 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 d16cc6e..564b4cb 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),




More information about the mesa-commit mailing list