diff options
author | Brian Paul <[email protected]> | 2010-01-13 14:51:26 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2010-01-13 15:10:57 -0700 |
commit | d59fe448967addb3025d7df90888ff950e03a343 (patch) | |
tree | 80b681dfe8a02adca9b5586e62840e8b0a07667a /src/gallium/drivers/llvmpipe/lp_setup_context.h | |
parent | a27b12171d84c6e731af08f48a657c377f8549ba (diff) |
llvmpipe: check for texture usage in all scenes
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_setup_context.h')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_setup_context.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_setup_context.h b/src/gallium/drivers/llvmpipe/lp_setup_context.h index 66654ec5e71..e6f6f0e0bbb 100644 --- a/src/gallium/drivers/llvmpipe/lp_setup_context.h +++ b/src/gallium/drivers/llvmpipe/lp_setup_context.h @@ -50,6 +50,11 @@ struct lp_scene_queue; +/** Max number of scenes */ +#define MAX_SCENES 2 + + + /** * Point/line/triangle setup context. * Note: "stored" below indicates data which is stored in the bins, @@ -75,6 +80,7 @@ struct setup_context */ struct draw_stage *vbuf; struct lp_rasterizer *rast; + struct lp_scene *scenes[MAX_SCENES]; /**< all the scenes */ struct lp_scene *scene; /**< current scene being built */ struct lp_scene_queue *empty_scenes; /**< queue of empty scenes */ |