1. 07 Mar, 2018 12 commits
  2. 06 Mar, 2018 3 commits
  3. 05 Mar, 2018 4 commits
  4. 03 Mar, 2018 5 commits
    • Ian Romanick's avatar
      isl: Silence unused parameter warnings in __gen_combine_address implementations · 50bf1868
      Ian Romanick authored
      Reduces my build from 1808 warnings to 1772 warnings by silencing 36
      instances of things like
      
      ../../SOURCE/master/src/intel/isl/isl_emit_depth_stencil.c: In function ‘__gen_combine_address’:
      ../../SOURCE/master/src/intel/isl/isl_emit_depth_stencil.c:30:29: warning: unused parameter ‘data’ [-Wunused-parameter]
       __gen_combine_address(void *data, void *loc, uint64_t addr, uint32_t delta)
                                   ^~~~
      ../../SOURCE/master/src/intel/isl/isl_emit_depth_stencil.c:30:41: warning: unused parameter ‘loc’ [-Wunused-parameter]
       __gen_combine_address(void *data, void *loc, uint64_t addr, uint32_t delta)
                                               ^~~
      Signed-off-by: default avatarIan Romanick <ian.d.romanick@intel.com>
      Reviewed-by: Samuel Iglesias Gonsálvez's avatarSamuel Iglesias Gonsálvez <siglesias@igalia.com>
      50bf1868
    • Ian Romanick's avatar
      genxml: Silence unused parameter warnings in generated pack code · 492a472b
      Ian Romanick authored
      Reduces my build from 1960 warnings to 1808 warnings by silencing 152
      instances of things like
      
      In file included from ../../SOURCE/master/src/intel/genxml/genX_pack.h:32:0,
                       from ../../SOURCE/master/src/intel/isl/isl_emit_depth_stencil.c:36:
      src/intel/genxml/gen4_pack.h: In function ‘__gen_uint’:
      src/intel/genxml/gen4_pack.h:58:49: warning: unused parameter ‘end’ [-Wunused-parameter]
       __gen_uint(uint64_t v, uint32_t start, uint32_t end)
                                                       ^~~
      src/intel/genxml/gen4_pack.h: In function ‘__gen_offset’:
      src/intel/genxml/gen4_pack.h:94:35: warning: unused parameter ‘start’ [-Wunused-parameter]
       __gen_offset(uint64_t v, uint32_t start, uint32_t end)
                                         ^~~~~
      src/intel/genxml/gen4_pack.h:94:51: warning: unused parameter ‘end’ [-Wunused-parameter]
       __gen_offset(uint64_t v, uint32_t start, uint32_t end)
                                                         ^~~
      src/intel/genxml/gen4_pack.h: In function ‘__gen_ufixed’:
      src/intel/genxml/gen4_pack.h:133:48: warning: unused parameter ‘end’ [-Wunused-parameter]
       __gen_ufixed(float v, uint32_t start, uint32_t end, uint32_t fract_bits)
                                                      ^~~
      Signed-off-by: default avatarIan Romanick <ian.d.romanick@intel.com>
      Reviewed-by: Samuel Iglesias Gonsálvez's avatarSamuel Iglesias Gonsálvez <siglesias@igalia.com>
      492a472b
    • Ian Romanick's avatar
      i965: Silence unused parameter warnings in blorp · f726695c
      Ian Romanick authored
      Reduces my build from 2023 warnings to 1960 warnings by silencing 63
      instances of things like
      
      In file included from ../../SOURCE/master/src/mesa/drivers/dri/i965/genX_blorp_exec.c:33:0:
      ../../SOURCE/master/src/intel/blorp/blorp_genX_exec.h: In function ‘blorp_emit_cc_viewport’:
      ../../SOURCE/master/src/intel/blorp/blorp_genX_exec.h:500:51: warning: unused parameter ‘params’ [-Wunused-parameter]
                              const struct blorp_params *params)
                                                         ^~~~~~
      ../../SOURCE/master/src/intel/blorp/blorp_genX_exec.h: In function ‘blorp_emit_sampler_state’:
      ../../SOURCE/master/src/intel/blorp/blorp_genX_exec.h:524:53: warning: unused parameter ‘params’ [-Wunused-parameter]
                                const struct blorp_params *params)
                                                           ^~~~~~
      In file included from ../../SOURCE/master/src/mesa/drivers/dri/i965/genX_blorp_exec.c:36:0:
      ../../SOURCE/master/src/mesa/drivers/dri/i965/gen4_blorp_exec.h: In function ‘blorp_emit_vs_state’:
      ../../SOURCE/master/src/mesa/drivers/dri/i965/gen4_blorp_exec.h:50:48: warning: unused parameter ‘params’ [-Wunused-parameter]
                           const struct blorp_params *params)
                                                      ^~~~~~
      ../../SOURCE/master/src/mesa/drivers/dri/i965/genX_blorp_exec.c: In function ‘blorp_flush_range’:
      ../../SOURCE/master/src/mesa/drivers/dri/i965/genX_blorp_exec.c:197:39: warning: unused parameter ‘batch’ [-Wunused-parameter]
       blorp_flush_range(struct blorp_batch *batch, void *start, size_t size)
                                             ^~~~~
      ../../SOURCE/master/src/mesa/drivers/dri/i965/genX_blorp_exec.c:197:52: warning: unused parameter ‘start’ [-Wunused-parameter]
       blorp_flush_range(struct blorp_batch *batch, void *start, size_t size)
                                                          ^~~~~
      ../../SOURCE/master/src/mesa/drivers/dri/i965/genX_blorp_exec.c:197:66: warning: unused parameter ‘size’ [-Wunused-parameter]
       blorp_flush_range(struct blorp_batch *batch, void *start, size_t size)
                                                                        ^~~~
      Signed-off-by: default avatarIan Romanick <ian.d.romanick@intel.com>
      Reviewed-by: Samuel Iglesias Gonsálvez's avatarSamuel Iglesias Gonsálvez <siglesias@igalia.com>
      f726695c
    • Ian Romanick's avatar
      i965: Silence warnings about mixing enum and non-enum in conditional · a55dae6e
      Ian Romanick authored
      Reduces my build from 6451 warnings to 6301 warnings by silencing 150
      instances of
      
      ../../SOURCE/master/src/intel/compiler/brw_inst.h: In function ‘brw_reg_type brw_inst_src1_type(const gen_device_info*, const brw_inst*)’:
      ../../SOURCE/master/src/intel/compiler/brw_inst.h:802:55: warning: enumeral and non-enumeral type in conditional expression [-Wextra]
          unsigned file = __builtin_strcmp("dst", #reg) == 0 ?                       \
                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
                          BRW_GENERAL_REGISTER_FILE :                                \
                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                          brw_inst_##reg##_reg_file(devinfo, inst);                  \
                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      ../../SOURCE/master/src/intel/compiler/brw_inst.h:811:1: note: in expansion of macro ‘REG_TYPE’
       REG_TYPE(src1)
       ^~~~~~~~
      Signed-off-by: default avatarIan Romanick <ian.d.romanick@intel.com>
      Reviewed-by: Samuel Iglesias Gonsálvez's avatarSamuel Iglesias Gonsálvez <siglesias@igalia.com>
      a55dae6e
    • Ian Romanick's avatar
      intel/compiler: Silence unused parameter warnings in release builds · feefb781
      Ian Romanick authored
      Reduces my build from 7005 warnings to 6451 warnings by silencing 554
      instances of
      
      In file included from ../../SOURCE/master/src/intel/compiler/brw_disasm.c:28:0:
      ../../SOURCE/master/src/intel/compiler/brw_inst.h: In function ‘brw_inst_3src_a1_src0_imm’:
      ../../SOURCE/master/src/intel/compiler/brw_inst.h:346:57: warning: unused parameter ‘devinfo’ [-Wunused-parameter]
       brw_inst_3src_a1_src0_imm(const struct gen_device_info *devinfo,
                                                               ^~~~~~~
      ../../SOURCE/master/src/intel/compiler/brw_inst.h: In function ‘brw_inst_3src_a1_src2_imm’:
      ../../SOURCE/master/src/intel/compiler/brw_inst.h:354:57: warning: unused parameter ‘devinfo’ [-Wunused-parameter]
       brw_inst_3src_a1_src2_imm(const struct gen_device_info *devinfo,
                                                               ^~~~~~~
      ../../SOURCE/master/src/intel/compiler/brw_inst.h: In function ‘brw_inst_set_3src_a1_src0_imm’:
      ../../SOURCE/master/src/intel/compiler/brw_inst.h:362:61: warning: unused parameter ‘devinfo’ [-Wunused-parameter]
       brw_inst_set_3src_a1_src0_imm(const struct gen_device_info *devinfo,
                                                                   ^~~~~~~
      ../../SOURCE/master/src/intel/compiler/brw_inst.h: In function ‘brw_inst_set_3src_a1_src2_imm’:
      ../../SOURCE/master/src/intel/compiler/brw_inst.h:370:61: warning: unused parameter ‘devinfo’ [-Wunused-parameter]
       brw_inst_set_3src_a1_src2_imm(const struct gen_device_info *devinfo,
                                                                   ^~~~~~~
      ../../SOURCE/master/src/intel/compiler/brw_inst.h: In function ‘brw_inst_imm_uq’:
      ../../SOURCE/master/src/intel/compiler/brw_inst.h:703:47: warning: unused parameter ‘devinfo’ [-Wunused-parameter]
       brw_inst_imm_uq(const struct gen_device_info *devinfo, const brw_inst *insn)
                                                     ^~~~~~~
      In file included from ../../SOURCE/master/src/intel/compiler/brw_shader.h:29:0,
                       from ../../SOURCE/master/src/intel/compiler/brw_disasm.c:29:
      ../../SOURCE/master/src/intel/compiler/brw_compiler.h: In function ‘brw_stage_has_packed_dispatch’:
      ../../SOURCE/master/src/intel/compiler/brw_compiler.h:1277:61: warning: unused parameter ‘devinfo’ [-Wunused-parameter]
       brw_stage_has_packed_dispatch(const struct gen_device_info *devinfo,
                                                                   ^~~~~~~
      ../../SOURCE/master/src/intel/compiler/brw_disasm.c: In function ‘src_ia1’:
      ../../SOURCE/master/src/intel/compiler/brw_disasm.c:849:18: warning: unused parameter ‘_reg_file’ [-Wunused-parameter]
               unsigned _reg_file,
                        ^~~~~~~~~
      Signed-off-by: default avatarIan Romanick <ian.d.romanick@intel.com>
      Reviewed-by: Samuel Iglesias Gonsálvez's avatarSamuel Iglesias Gonsálvez <siglesias@igalia.com>
      feefb781
  5. 02 Mar, 2018 8 commits
  6. 01 Mar, 2018 8 commits