Re: [Mesa-dev] Depthbuffer gl_FragDepth / glReadPixels on VMWare

2011-01-26 Thread stefanb
Hi Jose, thanks for the info, i got it working now: - Instead of reading depth I just render 256 greylevel quads and readback the color buffer (performance is not an issue here, I just need an image that tells me that the depth buffer is ok) - The GLSL depth-write shader doesn't work when t

Re: [Mesa-dev] Depthbuffer gl_FragDepth / glReadPixels on VMWare

2011-01-25 Thread stefanb
Hi Jose, thanks for the quick reply: I'm using Win7 for both, guest (32bit) and host (64bit). I do the depth buffer reads only for debugging / regression testing. Would a copy depth-to-texture and shader blit to the color channels work ? Reading the color back buffer via glReadPixels is ok. Re

[Mesa-dev] Depthbuffer gl_FragDepth / glReadPixels on VMWare

2011-01-25 Thread stefanb
Hi, i'm trying to get one of our testsuites running in VMWare (VMware, Inc. Gallium 0.3 on SVGA3D; build: RELEASE; OGL 2.1 Mesa 7.7.1-DEVEL). With the GDI backend everything works fine (tested in 7.7,7.8,7.10). I have a glsl shader that writes depth like void main() { vec4 v = texure2D(tex