Mesa (master): 23 new commits

Chia-I Wu olv at kemper.freedesktop.org
Fri Jun 7 04:06:26 UTC 2013


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=09f62a13fcddd237e7a3aef6185377f9a585a332
Author: Chia-I Wu <olvaffe at gmail.com>
Date:   Tue Jun 4 16:20:05 2013 +0800

    ilo: clean up states upon context destroy
    
    We need to unreference resources that we referenced.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7cbf0a410e565b6a02c4b45f73364d3537780105
Author: Chia-I Wu <olvaffe at gmail.com>
Date:   Tue Jun 4 13:25:38 2013 +0800

    ilo: unmap cp bo before destroying it
    
    The BOs are mapped in their entire life times for the chipsets we support so
    do not forget to unmap it.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=27804b2fc705bdcd3ff3d4ffd12534bc42f70805
Author: Chia-I Wu <olvaffe at gmail.com>
Date:   Thu Jun 6 02:41:21 2013 +0800

    ilo: enable bo reuse
    
    This magical line of code must have got lost at some point in the history...

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=20d23b227500566d4a2b6db791619d476fe3b078
Author: Chia-I Wu <olvaffe at gmail.com>
Date:   Wed Jun 5 12:04:46 2013 +0800

    ilo: construct 3DSTATE_SF in create_rasterizer_state()
    
    Add ilo_rasterizer_sf and initialize it in create_rasterizer_state().

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3c2fea206fa279f40ecca6a1dba00251857e1029
Author: Chia-I Wu <olvaffe at gmail.com>
Date:   Tue Jun 4 18:37:23 2013 +0800

    ilo: construct 3DSTATE_CLIP in create_rasterizer_state()
    
    Add ilo_rasterizer_clip and initialize it in create_rasterizer_state().

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4006f4ce265199b1ad8dfc9e8ca7fb5176a44527
Author: Chia-I Wu <olvaffe at gmail.com>
Date:   Mon Jun 3 15:34:13 2013 +0800

    ilo: use emit_SURFACE_STATE() for render targets
    
    Introduce ilo_surface_cso and initialize it in create_surface().  With the
    change, we can emit SURFACE_STATE directly from the CSO and remove
    emit_surf_SURFACE_STATE().  We do not deal with depth/stencil surfaces yet.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5354dc742899c498a97fe6f64cc5d9237beb1e9f
Author: Chia-I Wu <olvaffe at gmail.com>
Date:   Mon Jun 3 15:25:48 2013 +0800

    ilo: use emit_SURFACE_STATE() for constant buffers
    
    Introduce ilo_cbuf_cso and initialize it in set_constant_buffer().  As
    ilo_view_surface is embedded in ilo_cbuf_cso, switch to emit_SURFACE_STATE()
    for constant buffers and remove emit_cbuf_SURFACE_STATE().

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2d82885d3cd9c5ab90e4777da8dfd723da273cd8
Author: Chia-I Wu <olvaffe at gmail.com>
Date:   Thu Jun 6 11:28:02 2013 +0800

    ilo: add emit_SURFACE_STATE() for sampler views
    
    Introduce ilo_view_cso and initialize it in create_sampler_view().  Add
    emit_SURFACE_STATE() to GPE, which can emit SURFACE_STATE from
    ilo_view_surface.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=39e947569e5c0e159045aa5771e0ee5509eedee4
Author: Chia-I Wu <olvaffe at gmail.com>
Date:   Thu Jun 6 11:16:13 2013 +0800

    ilo: add ilo_view_surface for SURFACE_STATE
    
    Define struct ilo_view_surface for SURFACE_STATE construction and emission.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c6983ea035d6bef345517a13fed6abc1441407cf
Author: Courtney Goeltzenleuchter <courtney at LunarG.com>
Date:   Fri May 31 13:43:11 2013 -0600

    ilo: convert generic depth-stencil-alpha pipe state to ilo pipe state
    
    Moving the work to create time reduces the work at emit time.
    Saves time overall as create work is only done once.
    Fix compiler warning in gen7_pipeline_sol.
    
    [olv: remember pipe_alpha_state instead of pipe_depth_stencil_alpha_state in
          ilo_dsa_state]

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=70e78211d6c09b3076ac261d2cde9d0037540065
Author: Chia-I Wu <olvaffe at gmail.com>
Date:   Sat Jun 1 02:00:55 2013 +0800

    ilo: introduce vertex element CSO
    
    Introduce ilo_ve_cso and initialize it in create_vertex_elements_state().
    This commit goes a step further by setting up mappings from HW VB to PIPE VB,
    which we failed to do previously.  That allows us to support instanced
    rendering.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d4fa98db0c9a5d640fee946c713c8d06597e47f3
Author: Chia-I Wu <olvaffe at gmail.com>
Date:   Mon Jun 3 12:35:01 2013 +0800

    ilo: simplify emit_3DSTATE_DEPTH_BUFFER()
    
    Remove hiz and dsa from the parameters.  We would know whether HiZ buffer
    exists from ilo_texture once it is supported.  DSA state should not affect
    3DSTATE_DEPTH_BUFFER.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=eea1be2072a1c980871d80df71d3e39a67fdfb0a
Author: Chia-I Wu <olvaffe at gmail.com>
Date:   Fri May 31 16:11:38 2013 +0800

    ilo: introduce blend CSO
    
    Introduce ilo_blend_cso and initialize it in create_blend_state().  This saves
    us from having to construct hardware blend states in draw_vbo().

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b3c9e2161f22c3c6b8b2fc83ea4bc7ea883329d7
Author: Chia-I Wu <olvaffe at gmail.com>
Date:   Fri May 31 11:52:47 2013 +0800

    ilo: introduce sampler CSO
    
    Introduce ilo_sampler_cso and initialize it in create_sampler_state().  This
    saves us from having to perform CPU-intensive calculations to construct
    hardware sampler states in draw_vbo().

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=99725d2f8ae2e2d0dd1e80ac05b127c7f99778d3
Author: Chia-I Wu <olvaffe at gmail.com>
Date:   Thu May 30 19:48:32 2013 +0800

    ilo: construct SCISSOR_RECT in set_scissor_states()
    
    This allows us to memcpy() the state in draw_vbo().  Add ilo_init_states() and
    ilo_cleanup_states() that are called when contexts are created and destroyed
    respectively, and properly set the initial scissor state in ilo_init_states().

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e51806ee7ab52873c773619595962582c2abf0fe
Author: Chia-I Wu <olvaffe at gmail.com>
Date:   Thu May 30 14:37:49 2013 +0800

    ilo: introduce viewport CSO
    
    Introduce ilo_viewport_cso and initialize it in set_viewport_states().  This
    saves us from having to perform CPU-intensive calculations to construct
    hardware viewport states in draw_vbo().

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4228cf37467688dc4f6a10c8d2c42c6243f789e9
Author: Chia-I Wu <olvaffe at gmail.com>
Date:   Wed May 29 15:43:38 2013 +0800

    ilo: switch to ilo states for shaders and resources
    
    Define and use
    
     struct ilo_sampler_state;
     struct ilo_view_state;
     struct ilo_cbuf_state;
     struct ilo_resource_state;
     struct ilo_global_binding;
    
    in ilo_context.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=94212915ee8f7bf98c8adfe248a05a382d00c191
Author: Chia-I Wu <olvaffe at gmail.com>
Date:   Wed May 29 15:06:48 2013 +0800

    ilo: switch to ilo states for CC stage
    
    Define and use
    
     struct ilo_dsa_state;
     struct ilo_blend_state;
     struct ilo_fb_state;
    
    in ilo_context.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=29b938d9f43a4bc355ee05cad2c9796ea7ee93dd
Author: Chia-I Wu <olvaffe at gmail.com>
Date:   Wed May 29 15:02:31 2013 +0800

    ilo: switch to ilo states for WM stage
    
    Define and use
    
     struct ilo_rasterizer_state;
    
    in ilo_context.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=130364ad1d5010e9320aaa312309f83746d751d3
Author: Chia-I Wu <olvaffe at gmail.com>
Date:   Wed May 29 14:42:13 2013 +0800

    ilo: switch to ilo states for CLIP and SF stages
    
    Define and use
    
     struct ilo_viewport_state;
     struct ilo_scissor_state;
    
    in ilo_context.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3bc8289f49f6f1a7256c7d199d09d3753c10af3a
Author: Chia-I Wu <olvaffe at gmail.com>
Date:   Wed May 29 14:39:17 2013 +0800

    ilo: switch to ilo states for SOL stage
    
    Define and use
    
     struct ilo_so_state;
    
    in ilo_context.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6b14b392d04d8f1b43d565f65cdbd738b9f950a7
Author: Chia-I Wu <olvaffe at gmail.com>
Date:   Wed May 29 14:25:34 2013 +0800

    ilo: switch to ilo states for VF stage
    
    Define and use
    
     struct ilo_vb_state;
     struct ilo_ve_state;
     struct ilo_ib_state;
    
    in ilo_context.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f0af29223957a94e24ae45921da080bc99037d69
Author: Chia-I Wu <olvaffe at gmail.com>
Date:   Mon May 27 15:17:19 2013 +0800

    ilo: move hardware limits to ilo_gpe.h




More information about the mesa-commit mailing list