projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gallium: adapt to get_query_result interface change
[mesa.git]
/
src
/
gallium
/
drivers
/
llvmpipe
/
lp_clear.c
diff --git
a/src/gallium/drivers/llvmpipe/lp_clear.c
b/src/gallium/drivers/llvmpipe/lp_clear.c
index be2fce1307ccaa159a169263228cbc5bcde545a8..0b37347a967c3e0d8a18323fda3cdf97f34d8c47 100644
(file)
--- a/
src/gallium/drivers/llvmpipe/lp_clear.c
+++ b/
src/gallium/drivers/llvmpipe/lp_clear.c
@@
-36,6
+36,7
@@
#include "lp_clear.h"
#include "lp_context.h"
#include "lp_setup.h"
#include "lp_clear.h"
#include "lp_context.h"
#include "lp_setup.h"
+#include "lp_query.h"
#include "lp_debug.h"
#include "lp_debug.h"
@@
-55,6
+56,9
@@
llvmpipe_clear(struct pipe_context *pipe,
if (llvmpipe->no_rast)
return;
if (llvmpipe->no_rast)
return;
+ if (!llvmpipe_check_render_cond(llvmpipe))
+ return;
+
if (LP_PERF & PERF_NO_DEPTH)
buffers &= ~PIPE_CLEAR_DEPTHSTENCIL;
if (LP_PERF & PERF_NO_DEPTH)
buffers &= ~PIPE_CLEAR_DEPTHSTENCIL;