diff options
author | Keith Whitwell <keithw@vmware.com> | 2010-01-13 14:41:02 +0000 |
---|---|---|
committer | Keith Whitwell <keithw@vmware.com> | 2010-01-13 15:18:32 +0000 |
commit | da45f49cc63fff06513dc28d9616084fc81798d4 (patch) | |
tree | d78e13f3fa26bbfdbdf0bd2d2d4d80a31545dbff /src/gallium/drivers/llvmpipe/lp_setup.c | |
parent | 7e4c75c040bfd93fafb3a3ebbda25db8bd948e18 (diff) |
llvmpipe: quick hack to short-circuit empty bins
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_setup.c')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_setup.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_setup.c b/src/gallium/drivers/llvmpipe/lp_setup.c index 74f3054864..38ea0c663f 100644 --- a/src/gallium/drivers/llvmpipe/lp_setup.c +++ b/src/gallium/drivers/llvmpipe/lp_setup.c @@ -153,7 +153,9 @@ begin_binning( struct setup_context *setup ) { struct lp_scene *scene = lp_setup_get_current_scene(setup); - LP_DBG(DEBUG_SETUP, "%s\n", __FUNCTION__); + LP_DBG(DEBUG_SETUP, "%s color: %s depth: %s\n", __FUNCTION__, + (setup->clear.flags & PIPE_CLEAR_COLOR) ? "clear": "load", + (setup->clear.flags & PIPE_CLEAR_DEPTHSTENCIL) ? "clear": "load"); if (setup->fb.nr_cbufs) { if (setup->clear.flags & PIPE_CLEAR_COLOR) |