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

Author: Matt Turner <[email protected]>
Date:   Thu Jul  6 18:46:43 2017 -0700

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

Reviewed-by: Jordan Justen <[email protected]>

---

 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: {

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to