On Mon, Sep 10, 2012 at 7:16 PM, Marek Olšák <mar...@gmail.com> wrote: > Nothing too exciting. Besides cleanups, there are fine-grained sampler state > updates (it emits only the samplers which changed), support for geometry > shader resources (because it was easy; I am not working on GS right now), > atomization of some states, some fixes and a major cleanup in r600_draw_vbo. > > Tested on RS880 and REDWOOD. > > Please review.
For the first 18 patch : Reviewed-by: Jerome Glisse <jgli...@redhat.com> NAK for the 19 see other reply > > Marek Olšák (19): > r600g: consolidate initialization of common state functions > r600g: cleanup state function names > r600g: put constant buffer state into an array indexed by shader type > r600g: consolidate set_sampler_views functions > r600g: consolidate set_viewport_state functions > r600g: do fine-grained sampler state updates > r600g: put sampler states and views into an array indexed by shader type > r600g: add support for geometry shader samplers and constant buffers > r600g: initialize the first CS just like any other CS > r600g: remove unused state ID definitions > r600g: atomize stencil ref state > r600g: atomize viewport state > r600g: atomize blend color > r600g: atomize clip state > r600g: fix the number of CS dwords of cb_misc_state > r600g: fix computing how much space is needed for a draw command > r600g: add clip_misc_state for clip registers emitted in draw_vbo > r600g: emit the primitive type and associated regs only if the type is > changed > r600g: convert the remnants of VGT state into immediate register writes > > src/gallium/drivers/r600/evergreen_hw_context.c | 108 +---- > src/gallium/drivers/r600/evergreen_state.c | 191 +++----- > src/gallium/drivers/r600/evergreend.h | 2 + > src/gallium/drivers/r600/r600.h | 8 +- > src/gallium/drivers/r600/r600_blit.c | 16 +- > src/gallium/drivers/r600/r600_buffer.c | 31 +- > src/gallium/drivers/r600/r600_hw_context.c | 133 +++--- > src/gallium/drivers/r600/r600_hw_context_priv.h | 3 +- > src/gallium/drivers/r600/r600_pipe.c | 6 +- > src/gallium/drivers/r600/r600_pipe.h | 169 ++++---- > src/gallium/drivers/r600/r600_shader.c | 3 +- > src/gallium/drivers/r600/r600_shader.h | 1 - > src/gallium/drivers/r600/r600_state.c | 211 +++------ > src/gallium/drivers/r600/r600_state_common.c | 526 > ++++++++++++++--------- > src/gallium/drivers/r600/r600d.h | 2 + > 15 files changed, 615 insertions(+), 795 deletions(-) > > Marek > _______________________________________________ > mesa-dev mailing list > mesa-dev@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/mesa-dev _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev