r600g: decrease CPU time on set buffer resources
authorDave Airlie <airlied@redhat.com>
Thu, 2 Jun 2011 05:03:52 +0000 (15:03 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 2 Jun 2011 05:03:52 +0000 (15:03 +1000)
commit573758fd094431c8b3220786cea28dfdb4cfad1c
tree4701e97a5e040eaeb7d7bafd7dc54ee4268e0dd8
parent4423c79ddf6853d1d4594afda3e1262c1b9af4f5
r600g: decrease CPU time on set buffer resources

This splits the initialisation and the setting of values in the resource
buffers. We only should end up initialising once and updateing with new values
when needed.

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/r600/evergreen_state.c
src/gallium/drivers/r600/r600.h
src/gallium/drivers/r600/r600_pipe.h
src/gallium/drivers/r600/r600_state.c
src/gallium/drivers/r600/r600_state_common.c