If specify GL_DEPTH_TEXTURE_MODE as GL_ALPHA, the depth component value does not apply to pixels' alpha component. If change the GL_DEPTH_TEXTURE_MODE to GL_LUMINANCE, the depth texture value will apply to pixels' RGB component.
Created attachment 11147 [details] test case
fixed in mesa
Naihai, the fix has not been cherry-picked into mesa_7_0_branch, so the bug still exists on mesa_7_0_branch, please also commit to mesa_7_0_branch. commit 7233eabaf0072b7c50e4f26ec33738b5b89aad20 Author: Zou Nan hai <nanhai.zou@intel.com> Date: Thu Mar 20 17:47:02 2008 +0800 [i915] GL_DEPTH_TEXTURE_MODE fix
haihao, please cherry-pick the patch into 7_0 branch. thanks.
It has been done
Mass version move, cvs -> git
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.