gallium/postprocess: Fix depth logic
authorLauri Kasanen <cand@gmx.com>
Tue, 24 Jan 2012 19:37:07 +0000 (21:37 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 2 Feb 2012 21:42:06 +0000 (16:42 -0500)
commitc5976017e31828dd67fb54e8c11b863fffcac70b
treeb48166e7a8a84c0fa5d904ae31fed0a7c6d38e3c
parentcd2e2187cb45accb13bf89ef297324332c46f379
gallium/postprocess: Fix depth logic

This prevents a possible lapse of the depth buffer - the situation where
the app and pp have different depth buffers.

NOTE: This is a candidate for the 8.0 stable branch.

Signed-off-by: Lauri Kasanen <cand@gmx.com>
src/gallium/auxiliary/postprocess/postprocess.h
src/gallium/auxiliary/postprocess/pp_init.c
src/gallium/auxiliary/postprocess/pp_run.c
src/gallium/state_trackers/dri/common/dri_context.c