diff options
author | Marek Olšák <maraeo@gmail.com> | 2010-06-24 04:43:40 +0200 |
---|---|---|
committer | Marek Olšák <maraeo@gmail.com> | 2010-06-24 06:10:47 +0200 |
commit | 93bce03b275f66b6b2db410bbef38954de6a617c (patch) | |
tree | 417da865484de259a1aa6ee21d8b32ae6aaf979c /src/gallium/drivers/r300/r300_context.h | |
parent | a2f14153cc2bcf0b2364e035dc788d65ea0fcd35 (diff) |
r300g: separate the cache flush from the framebuffer state
Diffstat (limited to 'src/gallium/drivers/r300/r300_context.h')
-rw-r--r-- | src/gallium/drivers/r300/r300_context.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_context.h b/src/gallium/drivers/r300/r300_context.h index 8d0b4bb3d3..c5c662afd0 100644 --- a/src/gallium/drivers/r300/r300_context.h +++ b/src/gallium/drivers/r300/r300_context.h @@ -98,6 +98,10 @@ struct r300_dsa_state { boolean two_sided_stencil_ref; }; +struct r300_gpu_flush { + uint32_t cb_flush_clean[6]; +}; + struct r300_rs_state { /* Original rasterizer state. */ struct pipe_rasterizer_state rs; @@ -461,6 +465,8 @@ struct r300_context { struct r300_atom pvs_flush; /* Texture cache invalidate. */ struct r300_atom texture_cache_inval; + /* GPU flush. */ + struct r300_atom gpu_flush; /* Invariant state. This must be emitted to get the engine started. */ struct r300_atom invariant_state; |