diff options
Diffstat (limited to 'src/intel')
-rw-r--r-- | src/intel/compiler/brw_compiler.h | 2 | ||||
-rw-r--r-- | src/intel/compiler/brw_inst.h | 11 |
2 files changed, 7 insertions, 6 deletions
diff --git a/src/intel/compiler/brw_compiler.h b/src/intel/compiler/brw_compiler.h index b1086bbcee5..fb68a34ab95 100644 --- a/src/intel/compiler/brw_compiler.h +++ b/src/intel/compiler/brw_compiler.h @@ -1274,7 +1274,7 @@ encode_slm_size(unsigned gen, uint32_t bytes) * '2^n - 1' for some n. */ static inline bool -brw_stage_has_packed_dispatch(const struct gen_device_info *devinfo, +brw_stage_has_packed_dispatch(MAYBE_UNUSED const struct gen_device_info *devinfo, gl_shader_stage stage, const struct brw_stage_prog_data *prog_data) { diff --git a/src/intel/compiler/brw_inst.h b/src/intel/compiler/brw_inst.h index 99e637e6603..0f5e4ac988a 100644 --- a/src/intel/compiler/brw_inst.h +++ b/src/intel/compiler/brw_inst.h @@ -343,7 +343,7 @@ REG_TYPE(src2) * @{ */ static inline uint16_t -brw_inst_3src_a1_src0_imm(const struct gen_device_info *devinfo, +brw_inst_3src_a1_src0_imm(MAYBE_UNUSED const struct gen_device_info *devinfo, const brw_inst *insn) { assert(devinfo->gen >= 10); @@ -351,7 +351,7 @@ brw_inst_3src_a1_src0_imm(const struct gen_device_info *devinfo, } static inline uint16_t -brw_inst_3src_a1_src2_imm(const struct gen_device_info *devinfo, +brw_inst_3src_a1_src2_imm(MAYBE_UNUSED const struct gen_device_info *devinfo, const brw_inst *insn) { assert(devinfo->gen >= 10); @@ -359,7 +359,7 @@ brw_inst_3src_a1_src2_imm(const struct gen_device_info *devinfo, } static inline void -brw_inst_set_3src_a1_src0_imm(const struct gen_device_info *devinfo, +brw_inst_set_3src_a1_src0_imm(MAYBE_UNUSED const struct gen_device_info *devinfo, brw_inst *insn, uint16_t value) { assert(devinfo->gen >= 10); @@ -367,7 +367,7 @@ brw_inst_set_3src_a1_src0_imm(const struct gen_device_info *devinfo, } static inline void -brw_inst_set_3src_a1_src2_imm(const struct gen_device_info *devinfo, +brw_inst_set_3src_a1_src2_imm(MAYBE_UNUSED const struct gen_device_info *devinfo, brw_inst *insn, uint16_t value) { assert(devinfo->gen >= 10); @@ -700,7 +700,8 @@ brw_inst_imm_ud(const struct gen_device_info *devinfo, const brw_inst *insn) } static inline uint64_t -brw_inst_imm_uq(const struct gen_device_info *devinfo, const brw_inst *insn) +brw_inst_imm_uq(MAYBE_UNUSED const struct gen_device_info *devinfo, + const brw_inst *insn) { assert(devinfo->gen >= 8); return brw_inst_bits(insn, 127, 64); |