OSDN Git Service

r300-gallium: Another constantbuf shader recompile test.
authorCorbin Simpson <MostAwesomeDude@gmail.com>
Wed, 20 May 2009 21:55:03 +0000 (14:55 -0700)
committerCorbin Simpson <MostAwesomeDude@gmail.com>
Wed, 20 May 2009 21:55:03 +0000 (14:55 -0700)
commitd04c85d01bf37d480df8b9a21d9a79194d2e67f3
tree9f9a5cd4c8d16a2a854f7ff4d4a892a0586f7947
parent4151c0ea91212ac5ec73fa6d1936df9254978672
r300-gallium: Another constantbuf shader recompile test.

Less briefly... Shaders need to be recompiled if their constantbuf
offsets have changed. However, since we only change them from shaders if
immediates need to be emitted, we shouldn't bother if the shader doesn't
use immediates.
src/gallium/drivers/r300/r300_context.h
src/gallium/drivers/r300/r300_state.c
src/gallium/drivers/r300/r300_state_shader.c
src/gallium/drivers/r300/r300_state_tcl.c