summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrii Simiklit <andrii.simiklit@globallogic.com>2019-07-23 14:48:58 +0300
committerEric Engestrom <eric@engestrom.ch>2019-07-24 13:26:42 +0000
commitfa2fc68de132317ce63d407cef34e266c1d3e838 (patch)
tree46b3ae39f39c2b1363d801162d624b5cb3bc576a
parent280dfa02fa288e7d141f36c6665f6134fd2d8cd9 (diff)
intel/compiler: don't use a keyword struct for a class fs_reg
warning: struct 'fs_reg' was previously declared as a class Fixes: e64be391 ("intel/compiler: generalize the combine constants pass") Reviewed-by: Eric Engestrom <eric.engestrom@intel.com> Reviewed-by: Matt Turner <mattst88@gmail.com> Signed-off-by: Andrii Simiklit <andrii.simiklit@globallogic.com>
-rw-r--r--src/intel/compiler/brw_fs_combine_constants.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/compiler/brw_fs_combine_constants.cpp b/src/intel/compiler/brw_fs_combine_constants.cpp
index 8d16be4c4bb..c12e0d62293 100644
--- a/src/intel/compiler/brw_fs_combine_constants.cpp
+++ b/src/intel/compiler/brw_fs_combine_constants.cpp
@@ -289,7 +289,7 @@ get_alignment_for_imm(const struct imm *imm)
}
static bool
-needs_negate(const struct fs_reg *reg, const struct imm *imm)
+needs_negate(const fs_reg *reg, const struct imm *imm)
{
switch (reg->type) {
case BRW_REGISTER_TYPE_DF: