[Mesa-dev] [PATCH] Allow glTexImage2D with a depth component cube map

Brian Paul brianp at vmware.com
Sat Nov 26 08:03:02 PST 2011


On 11/23/2011 05:14 PM, Anuj Phogat wrote:
> From: Anuj Phogat<anuj.phogat at gmail.com>
>
> This is an updated patch to allow glTexImage2D with a depth component cube map. Patch
> was producing an expected ouput with depth-cube-map test (posted on piglit mailing list).
> But i'm getting an incorrect output since i updated my mesa branch with git://anongit.freedesktop.org/mesa/mesa.
> Luminance value is not getting copied to green and blue channels. So the color value i'm seeing in fragment
> shader is (L,0,0,1). I verified that this issue is only with depth cube maps not with depth 2D textures.
> Is this a known issue? I will try to debug it further.

Which driver are you testing with?



More information about the mesa-dev mailing list