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: