Mesa (master): i965/vec4: Use 'class' src_reg, rather than 'struct' src_reg

Matt Turner mattst88 at kemper.freedesktop.org
Mon Aug 21 21:45:52 UTC 2017


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

Author: Matt Turner <mattst88 at gmail.com>
Date:   Thu Jul  6 18:46:43 2017 -0700

i965/vec4: Use 'class' src_reg, rather than 'struct' src_reg

Reviewed-by: Jordan Justen <jordan.l.justen at intel.com>

---

 src/intel/compiler/brw_vec4.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/intel/compiler/brw_vec4.cpp b/src/intel/compiler/brw_vec4.cpp
index 020bb1760f..9b9f586372 100644
--- a/src/intel/compiler/brw_vec4.cpp
+++ b/src/intel/compiler/brw_vec4.cpp
@@ -1951,7 +1951,7 @@ vec4_visitor::convert_to_hw_regs()
 {
    foreach_block_and_inst(block, vec4_instruction, inst, cfg) {
       for (int i = 0; i < 3; i++) {
-         struct src_reg &src = inst->src[i];
+         class src_reg &src = inst->src[i];
          struct brw_reg reg;
          switch (src.file) {
          case VGRF: {




More information about the mesa-commit mailing list