diff options
author | Andrii Simiklit <[email protected]> | 2019-07-23 14:48:58 +0300 |
---|---|---|
committer | Eric Engestrom <[email protected]> | 2019-07-24 13:26:42 +0000 |
commit | fa2fc68de132317ce63d407cef34e266c1d3e838 (patch) | |
tree | 46b3ae39f39c2b1363d801162d624b5cb3bc576a /src/intel | |
parent | 280dfa02fa288e7d141f36c6665f6134fd2d8cd9 (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 <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Signed-off-by: Andrii Simiklit <[email protected]>
Diffstat (limited to 'src/intel')
-rw-r--r-- | src/intel/compiler/brw_fs_combine_constants.cpp | 2 |
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: |