diff options
author | Dave Airlie <[email protected]> | 2012-12-05 06:50:07 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2012-12-06 14:48:10 +1000 |
commit | 77b26564c3f0395bf3e744abbf6d0e7aa9d2c8da (patch) | |
tree | b592e6ecfdfad109ee33e1de801f144033175ea1 /src/gallium/drivers/llvmpipe/lp_scene.h | |
parent | 71f06344a0d72a6bd27750ceca571fc016b8de85 (diff) |
llvmpipe: EXT_transform_feedback support (v1.1)
I'd written most of this ages ago, but never finished it off.
This passes 115/130 piglit tests so far. I'll look into the
others as time permits.
v1.1: fix calloc return check as suggested by Jose.
Reviewed-by: Jose Fonseca <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_scene.h')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_scene.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_scene.h b/src/gallium/drivers/llvmpipe/lp_scene.h index 31a5ae72b37..b1db61bd5a3 100644 --- a/src/gallium/drivers/llvmpipe/lp_scene.h +++ b/src/gallium/drivers/llvmpipe/lp_scene.h @@ -157,7 +157,7 @@ struct lp_scene { boolean alloc_failed; boolean has_depthstencil_clear; - + boolean discard; /** * Number of active tiles in each dimension. * This basically the framebuffer size divided by tile size @@ -381,7 +381,8 @@ lp_scene_bin_iter_next( struct lp_scene *scene ); */ void lp_scene_begin_binning( struct lp_scene *scene, - struct pipe_framebuffer_state *fb ); + struct pipe_framebuffer_state *fb, + boolean discard ); void lp_scene_end_binning( struct lp_scene *scene ); |