diff options
author | Park, Jeongmin <[email protected]> | 2015-02-07 17:53:47 +0900 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2015-02-07 12:12:00 +0100 |
commit | 2e6ba6afdb62e80689b844c7267272d261db172c (patch) | |
tree | 4a69328dc18285461100be6f4b0c496f8509cf9a /src/gallium/auxiliary | |
parent | 8030e269e911c4f90a44d9a77eb342dd2657d229 (diff) |
postprocess: Check for depth buffer in pp_jimenezmlaa
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=88962
Signed-off-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary')
-rw-r--r-- | src/gallium/auxiliary/postprocess/pp_mlaa.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/postprocess/pp_mlaa.c b/src/gallium/auxiliary/postprocess/pp_mlaa.c index 9827b8c9749..147d14de95d 100644 --- 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); } |