1. 24 Oct, 2020 5 commits
  2. 22 Oct, 2020 3 commits
  3. 21 Oct, 2020 3 commits
  4. 20 Oct, 2020 2 commits
  5. 19 Oct, 2020 3 commits
    • Ian Romanick's avatar
      mesa: Pass the correct caller string to _mesa_lookup_or_create_texture · 25627ffe
      Ian Romanick authored
      An actual bug found by the 'unused parameter' warning. :D
      Reviewed-by: Matt Turner's avatarMatt Turner <mattst88@gmail.com>
      Reviewed-by: Kristian H. Kristensen's avatarKristian H. Kristensen <hoegsberg@google.com>
      Part-of: <!7167>
      25627ffe
    • Ian Romanick's avatar
      mesa/st: Silence unused parameter warnings in st_context.c · 9b847d41
      Ian Romanick authored
      src/mesa/state_tracker/st_context.c: In function ‘st_Enable’:
      src/mesa/state_tracker/st_context.c:101:57: warning: unused parameter ‘state’ [-Wunused-parameter]
        101 | st_Enable(struct gl_context *ctx, GLenum cap, GLboolean state)
            |                                               ~~~~~~~~~~^~~~~
      Reviewed-by: Matt Turner's avatarMatt Turner <mattst88@gmail.com>
      Reviewed-by: Kristian H. Kristensen's avatarKristian H. Kristensen <hoegsberg@google.com>
      Part-of: <!7167>
      9b847d41
    • Ian Romanick's avatar
      i965: Silence unused parameter warnings · 4cd93056
      Ian Romanick authored
      src/mesa/drivers/dri/i965/intel_screen.c: In function ‘brw_driconf_get_xml’:
      src/mesa/drivers/dri/i965/intel_screen.c:103:33: warning: unused parameter ‘driver_name’ [-Wunused-parameter]
        103 | brw_driconf_get_xml(const char *driver_name)
            |                     ~~~~~~~~~~~~^~~~~~~~~~~
      src/mesa/drivers/dri/i965/intel_screen.c: In function ‘intel_unmap_image’:
      src/mesa/drivers/dri/i965/intel_screen.c:882:33: warning: unused parameter ‘context’ [-Wunused-parameter]
        882 | intel_unmap_image(__DRIcontext *context, __DRIimage *image, void *map_info)
            |                   ~~~~~~~~~~~~~~^~~~~~~
      src/mesa/drivers/dri/i965/intel_screen.c:882:54: warning: unused parameter ‘image’ [-Wunused-parameter]
        882 | intel_unmap_image(__DRIcontext *context, __DRIimage *image, void *map_info)
            |                                          ~~~~~~~~~~~~^~~~~
      src/mesa/drivers/dri/i965/intel_screen.c: In function ‘intelReleaseBuffer’:
      src/mesa/drivers/dri/i965/intel_screen.c:2904:33: warning: unused parameter ‘dri_screen’ [-Wunused-parameter]
       2904 | intelReleaseBuffer(__DRIscreen *dri_screen, __DRIbuffer *buffer)
            |                    ~~~~~~~~~~~~~^~~~~~~~~~
      
      src/mesa/drivers/dri/i965/brw_context.c: In function ‘brw_set_background_context’:
      src/mesa/drivers/dri/i965/brw_context.c:144:58: warning: unused parameter ‘queue_info’ [-Wunused-parameter]
        144 |                            struct util_queue_monitoring *queue_info)
            |                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
      Reviewed-by: Matt Turner's avatarMatt Turner <mattst88@gmail.com>
      Reviewed-by: Kristian H. Kristensen's avatarKristian H. Kristensen <hoegsberg@google.com>
      Part-of: <!7167>
      4cd93056
  6. 16 Oct, 2020 2 commits
  7. 15 Oct, 2020 7 commits
    • Ian Romanick's avatar
      9c19a387
    • Ian Romanick's avatar
      3220ff70
    • Ian Romanick's avatar
      i965: Rename gen10_emit_isp_disable to gen7_emit_isp_disable · 112f23fd
      Ian Romanick authored
      It's used on Gen7+, and there's nothing Gen10-specific about it.
      Reviewed-by: Jason Ekstrand's avatarJason Ekstrand <jason@jlekstrand.net>
      Part-of: <!6899>
      112f23fd
    • Ian Romanick's avatar
      i965: Make MOCS index tables static const · fe261091
      Ian Romanick authored
      Reviewed-by: Jason Ekstrand's avatarJason Ekstrand <jason@jlekstrand.net>
      Part-of: <!6899>
      fe261091
    • Ian Romanick's avatar
      i965: Silence many unused parameter warnings in genX_state_upload.c · 02a0819d
      Ian Romanick authored
      This file gets built per-Gen, so the warnings are repeated a lot.
      
      src/mesa/drivers/dri/i965/genX_state_upload.c: In function ‘vf_invalidate_for_vb_48bit_transitions’:
      src/mesa/drivers/dri/i965/genX_state_upload.c:405:60: warning: unused parameter ‘brw’ [-Wunused-parameter]
        405 | vf_invalidate_for_vb_48bit_transitions(struct brw_context *brw)
            |                                        ~~~~~~~~~~~~~~~~~~~~^~~
      src/mesa/drivers/dri/i965/genX_state_upload.c: In function ‘vf_invalidate_for_ib_48bit_transition’:
      src/mesa/drivers/dri/i965/genX_state_upload.c:444:59: warning: unused parameter ‘brw’ [-Wunused-parameter]
        444 | vf_invalidate_for_ib_48bit_transition(struct brw_context *brw)
            |                                       ~~~~~~~~~~~~~~~~~~~~^~~
      src/mesa/drivers/dri/i965/genX_state_upload.c: In function ‘gen4_upload_default_color’:
      src/mesa/drivers/dri/i965/genX_state_upload.c:4951:40: warning: unused parameter ‘format’ [-Wunused-parameter]
       4951 |                            mesa_format format, GLenum base_format,
            |                            ~~~~~~~~~~~~^~~~~~
      Reviewed-by: Jason Ekstrand's avatarJason Ekstrand <jason@jlekstrand.net>
      Part-of: <!6899>
      02a0819d
    • Ian Romanick's avatar
      i965: Silence many unused parameter warnings in genX_blorp_exec.c · 5a5f30bf
      Ian Romanick authored
      This file gets built per-Gen, so the warnings are repeated a lot.
      
      src/mesa/drivers/dri/i965/genX_blorp_exec.c: In function ‘blorp_get_surface_address’:
      src/mesa/drivers/dri/i965/genX_blorp_exec.c:98:47: warning: unused parameter ‘blorp_batch’ [-Wunused-parameter]
         98 | blorp_get_surface_address(struct blorp_batch *blorp_batch,
            |                           ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
      src/mesa/drivers/dri/i965/genX_blorp_exec.c:99:48: warning: unused parameter ‘address’ [-Wunused-parameter]
         99 |                           struct blorp_address address)
            |                           ~~~~~~~~~~~~~~~~~~~~~^~~~~~~
      src/mesa/drivers/dri/i965/genX_blorp_exec.c: In function ‘blorp_vf_invalidate_for_vb_48b_transitions’:
      src/mesa/drivers/dri/i965/genX_blorp_exec.c:208:64: warning: unused parameter ‘batch’ [-Wunused-parameter]
        208 | blorp_vf_invalidate_for_vb_48b_transitions(struct blorp_batch *batch,
            |                                            ~~~~~~~~~~~~~~~~~~~~^~~~~
      src/mesa/drivers/dri/i965/genX_blorp_exec.c:209:72: warning: unused parameter ‘addrs’ [-Wunused-parameter]
        209 |                                            const struct blorp_address *addrs,
            |                                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
      src/mesa/drivers/dri/i965/genX_blorp_exec.c:211:53: warning: unused parameter ‘num_vbs’ [-Wunused-parameter]
        211 |                                            unsigned num_vbs)
            |                                            ~~~~~~~~~^~~~~~~
      Reviewed-by: Jason Ekstrand's avatarJason Ekstrand <jason@jlekstrand.net>
      Part-of: <!6899>
      5a5f30bf
    • Ian Romanick's avatar
      i965: Allow viewport array extensions with allow_higher_compat_version · de77fabe
      Ian Romanick authored
      Also fix the obtuse comment.  I had to dig back through the commit logs
      to find the real issue.  GL_ARB_viewport_array requires geometry
      shaders, and in i965 the only way to have that is with a 3.2+ Core
      profile context... or use allow_higher_compat_version.
      
      This increases the maximum Compatibility profile version from 4.0 to 4.6
      (on supported hardware) when the allow_higher_compat_version option is
      used.
      Reviewed-by: Kenneth Graunke's avatarKenneth Graunke <kenneth@whitecape.org>
      Part-of: <!7118>
      de77fabe
  8. 13 Oct, 2020 1 commit
    • Vinson Lee's avatar
      glsl: Initialize ir_to_mesa_visitor members in constructor. · bdb1e5aa
      Vinson Lee authored
      Fix defects reported by Coverity Scan.
      
      Uninitialized pointer field (UNINIT_CTOR)
      uninit_member: Non-static class member ctx is not initialized in this constructor nor in any functions that it calls.
      uninit_member: Non-static class member prog is not initialized in this constructor nor in any functions that it calls.
      uninit_member: Non-static class member shader_program is not initialized in this constructor nor in any functions that it calls.
      uninit_member: Non-static class member options is not initialized in this constructor nor in any functions that it calls.
      Signed-off-by: Vinson Lee's avatarVinson Lee <vlee@freedesktop.org>
      Reviewed-by: default avatarMarek Olšák <marek.olsak@amd.com>
      Part-of: <mesa/mesa!7071>
      bdb1e5aa
  9. 08 Oct, 2020 2 commits
  10. 07 Oct, 2020 6 commits
  11. 06 Oct, 2020 4 commits
  12. 02 Oct, 2020 2 commits