diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2009-08-02 18:26:12 -0400 |
---|---|---|
committer | Alex Deucher <alexdeucher@gmail.com> | 2009-08-02 18:26:12 -0400 |
commit | d07bf2b35c1419bdef824092e509c70ffb11fd67 (patch) | |
tree | fc9506503b2d8f233b2b568696f2a0d22280e03a /src/mesa/drivers/dri/r600/r600_cmdbuf.c | |
parent | 562ca4961186954d3abf216bcfb1e835b562b234 (diff) |
r600: handle state emit better
- move shader-related state with the rest of the shader setup/emit
- start to track dirty state better
Diffstat (limited to 'src/mesa/drivers/dri/r600/r600_cmdbuf.c')
-rw-r--r-- | src/mesa/drivers/dri/r600/r600_cmdbuf.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/r600/r600_cmdbuf.c b/src/mesa/drivers/dri/r600/r600_cmdbuf.c index 8debecbab9..dc2fb0144a 100644 --- a/src/mesa/drivers/dri/r600/r600_cmdbuf.c +++ b/src/mesa/drivers/dri/r600/r600_cmdbuf.c @@ -457,6 +457,9 @@ void r600InitCmdBuf(context_t *r600) /* from rcommonInitCmdBuf */ GLuint size; rmesa->hw.max_state_size = 4000; /* rough estimate */ + rmesa->hw.all_dirty = GL_TRUE; + rmesa->hw.is_dirty = GL_TRUE; + /* Initialize command buffer */ size = 256 * driQueryOptioni(&rmesa->optionCache, "command_buffer_size"); |