summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nvfx/nvfx_context.h
diff options
context:
space:
mode:
authorLuca Barbieri <[email protected]>2010-09-03 23:27:49 +0200
committerLuca Barbieri <[email protected]>2010-09-04 02:08:02 +0200
commit60fe5757aea835214c45f05aa940e8e9e3dbd5da (patch)
tree76912588086169fd36959947e83ec61ab6cf7126 /src/gallium/drivers/nvfx/nvfx_context.h
parent3b8182793b4f7d87ba274de152fb106996e75098 (diff)
nvfx: allow nested blitter usage, fixing bug in clear
Diffstat (limited to 'src/gallium/drivers/nvfx/nvfx_context.h')
-rw-r--r--src/gallium/drivers/nvfx/nvfx_context.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/drivers/nvfx/nvfx_context.h b/src/gallium/drivers/nvfx/nvfx_context.h
index 9e46f5d623f..b837437c58f 100644
--- a/src/gallium/drivers/nvfx/nvfx_context.h
+++ b/src/gallium/drivers/nvfx/nvfx_context.h
@@ -144,7 +144,9 @@ struct nvfx_context {
boolean use_vp_clipping;
struct draw_context *draw;
- struct blitter_context* blitter;
+ /* one is for user-requested operations, the other is for temporary copying inside them */
+ struct blitter_context* blitter[2];
+ unsigned blitters_in_use;
struct list_head render_cache;
/* HW state derived from pipe states */