projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8030e26
)
postprocess: Check for depth buffer in pp_jimenezmlaa
author
Park, Jeongmin
<pjm0616@gmail.com>
Sat, 7 Feb 2015 08:53:47 +0000
(17:53 +0900)
committer
Marek Olšák
<marek.olsak@amd.com>
Sat, 7 Feb 2015 11:12:00 +0000
(12:12 +0100)
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=88962
Signed-off-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/auxiliary/postprocess/pp_mlaa.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/postprocess/pp_mlaa.c
b/src/gallium/auxiliary/postprocess/pp_mlaa.c
index 9827b8c974951558cddf79079402197479e4da7e..147d14de95dd25bcf51e8ce1b2247f18998372b8 100644
(file)
--- a/
src/gallium/auxiliary/postprocess/pp_mlaa.c
+++ b/
src/gallium/auxiliary/postprocess/pp_mlaa.c
@@
-329,6
+329,9
@@
void
pp_jimenezmlaa(struct pp_queue_t *ppq, struct pipe_resource *in,
struct pipe_resource *out, unsigned int n)
{
+ if (!ppq->depth) {
+ return;
+ }
pp_jimenezmlaa_run(ppq, in, out, n, false);
}