summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/softpipe/sp_draw_arrays.c
diff options
context:
space:
mode:
authorMathias Fröhlich <Mathias.Froehlich@web.de>2011-02-27 07:11:27 +0100
committerHenri Verbeet <hverbeet@gmail.com>2011-03-13 17:25:16 +0100
commit0a6f09a76a416b8672e149c520aa5bef33174223 (patch)
tree57fa7fac32945ab2757ac48e658f6c81425329dd /src/gallium/drivers/softpipe/sp_draw_arrays.c
parent629bc76b75c6e35ecbbb7a6716b5f25f13ef34e6 (diff)
r600g: Only update DB_SHADER_CONTROL once in r600_pipe_shader_ps().
Avoid setting the same gpu register several times in a r600_pipe_state. Compute the final value of the register and set that one time. This avoids some overhead in r600_context_pipe_state_set(). Signed-off-by: Mathias Fröhlich <Mathias.Froehlich@web.de> Signed-off-by: Henri Verbeet <hverbeet@gmail.com>
Diffstat (limited to 'src/gallium/drivers/softpipe/sp_draw_arrays.c')
0 files changed, 0 insertions, 0 deletions