From f30902629cfe9341a85c1af026c80aad83cf4a6e Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Thu, 6 Jul 2017 18:46:43 -0700 Subject: [PATCH] i965/vec4: Use 'class' src_reg, rather than 'struct' src_reg Reviewed-by: Jordan Justen --- 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 020bb1760fb..9b9f5863721 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: { -- 2.30.2