OSDN Git Service

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 22:09:16 +0000 (17:09 -0500)
commitad83ddc868aafdcf263360e075ae7c399bcd71d4
tree87f8f1ec6d732d21d07e1ac2f93f904ab954dd09
parentac089040d729ac746fadd70b4d3a3061279be6d1
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>
(cherry picked from commit c5976017e31828dd67fb54e8c11b863fffcac70b)
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