[Mesa-dev] [PATCH v3 0/9] Support multiple state pipelines for i965

Kristian Høgsberg krh at bitplanet.net
Mon Mar 23 11:26:32 PDT 2015


On Fri, Mar 20, 2015 at 5:28 PM, Jordan Justen
<jordan.l.justen at intel.com> wrote:
> git://people.freedesktop.org/~jljusten/mesa i965-pipelines-v3
>
> v2:
>  * Rename brw->atoms[] to render_atoms
>   * Add brw->compute_atoms[]
>    * Replace brw_pipeline_first_atom with brw_get_pipeline_atoms
>
> v3:
>  * Avoid changing pipelines' state bits in upload path
>  * brw_clear_dirty_bits => brw_render_state_finished
>  * brw->compute_atoms[] starts with size of 1
>  * Deprecate and remove brw->state.dirty

This looks really good now. Series

Reviewed-by: Kristian Høgsberg <krh at bitplanet.net>

> Jordan Justen (9):
>   i965/state: Rename brw_upload_state to brw_upload_render_state
>   i965/state: Rename brw_clear_dirty_bits to brw_render_state_finished
>   i965/state: Support multiple pipelines in brw->num_atoms
>   i965/state: Create separate dirty state bits for each pipeline
>   i965/state: Only upload render programs for render state uploads
>   i965/state: Add compute pipeline with empty atom lists
>   i965/state: Don't use brw->state.dirty.brw
>   i965/state: Don't use brw->state.dirty.mesa
>   i965/state: Remove brw->state.dirty
>
>  src/mesa/drivers/dri/i965/brw_binding_tables.c    |   2 +-
>  src/mesa/drivers/dri/i965/brw_blorp.cpp           |   2 +-
>  src/mesa/drivers/dri/i965/brw_cc.c                |   4 +-
>  src/mesa/drivers/dri/i965/brw_clip_state.c        |   2 +-
>  src/mesa/drivers/dri/i965/brw_context.h           |  14 +-
>  src/mesa/drivers/dri/i965/brw_curbe.c             |   4 +-
>  src/mesa/drivers/dri/i965/brw_draw.c              |  31 +--
>  src/mesa/drivers/dri/i965/brw_draw_upload.c       |   4 +-
>  src/mesa/drivers/dri/i965/brw_ff_gs.c             |   2 +-
>  src/mesa/drivers/dri/i965/brw_gs.c                |   8 +-
>  src/mesa/drivers/dri/i965/brw_gs_state.c          |   2 +-
>  src/mesa/drivers/dri/i965/brw_interpolation_map.c |   2 +-
>  src/mesa/drivers/dri/i965/brw_meta_fast_clear.c   |   8 +-
>  src/mesa/drivers/dri/i965/brw_misc_state.c        |   4 +-
>  src/mesa/drivers/dri/i965/brw_program.c           |   4 +-
>  src/mesa/drivers/dri/i965/brw_queryobj.c          |   4 +-
>  src/mesa/drivers/dri/i965/brw_sampler_state.c     |   2 +-
>  src/mesa/drivers/dri/i965/brw_sf_state.c          |   4 +-
>  src/mesa/drivers/dri/i965/brw_state.h             |  10 +-
>  src/mesa/drivers/dri/i965/brw_state_cache.c       |  10 +-
>  src/mesa/drivers/dri/i965/brw_state_upload.c      | 288 ++++++++++++++--------
>  src/mesa/drivers/dri/i965/brw_urb.c               |   2 +-
>  src/mesa/drivers/dri/i965/brw_vs.c                |   4 +-
>  src/mesa/drivers/dri/i965/brw_vs_state.c          |   2 +-
>  src/mesa/drivers/dri/i965/brw_vs_surface_state.c  |   4 +-
>  src/mesa/drivers/dri/i965/brw_wm_state.c          |   2 +-
>  src/mesa/drivers/dri/i965/brw_wm_surface_state.c  |   8 +-
>  src/mesa/drivers/dri/i965/gen6_sol.c              |   8 +-
>  src/mesa/drivers/dri/i965/gen6_viewport_state.c   |   4 +-
>  src/mesa/drivers/dri/i965/gen7_urb.c              |   4 +-
>  src/mesa/drivers/dri/i965/gen7_vs_state.c         |   2 +-
>  src/mesa/drivers/dri/i965/gen8_depth_state.c      |   2 +-
>  src/mesa/drivers/dri/i965/gen8_misc_state.c       |   2 +-
>  src/mesa/drivers/dri/i965/intel_batchbuffer.c     |   4 +-
>  src/mesa/drivers/dri/i965/intel_buffer_objects.c  |   6 +-
>  35 files changed, 286 insertions(+), 179 deletions(-)
>
> --
> 2.1.4
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list