summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/r600.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2011-11-10 18:42:10 +0100
committerMarek Olšák <[email protected]>2011-11-10 18:48:23 +0100
commitec3d2c7f089e0a4750dc42f10da914b58858499e (patch)
tree0ebbb830202bf0ee3d0f66eac5341fcf768eabde /src/gallium/drivers/r600/r600.h
parent6a490149d9b8b77ead81b4227f2860ec22095217 (diff)
r600g: flush the whole context when CS is full, not just hw_context
Because we disable render condition in r600_flush, but not in r600_context_flush.
Diffstat (limited to 'src/gallium/drivers/r600/r600.h')
-rw-r--r--src/gallium/drivers/r600/r600.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600.h b/src/gallium/drivers/r600/r600.h
index 5bd808ace4d..28c1ee15ce3 100644
--- a/src/gallium/drivers/r600/r600.h
+++ b/src/gallium/drivers/r600/r600.h
@@ -192,6 +192,9 @@ struct r600_context {
struct r600_screen *screen;
struct radeon_winsys *ws;
struct radeon_winsys_cs *cs;
+ struct pipe_context *pipe;
+
+ void (*flush)(void *pipe, unsigned flags);
struct r600_range *range;
unsigned nblocks;