python: Prefer PIPE_FORMAT_Z32_UNORM.
authorJosé Fonseca <jfonseca@vmware.com>
Mon, 11 Jan 2010 13:56:09 +0000 (13:56 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Mon, 11 Jan 2010 14:01:07 +0000 (14:01 +0000)
src/gallium/state_trackers/python/samples/gs.py
src/gallium/state_trackers/python/samples/tri.py

index 6cffe3fd06543f296944cb2d8467bcd1f595e39d..a07cf557f2f14f4d4d2b849da5315ca9a98955c0 100644 (file)
@@ -139,7 +139,7 @@ def test(dev):
         tex_usage=PIPE_TEXTURE_USAGE_RENDER_TARGET,
     ).get_surface()
     zbuf = dev.texture_create(
-        PIPE_FORMAT_Z16_UNORM,
+        PIPE_FORMAT_Z32_UNORM,
         width, height,
         tex_usage=PIPE_TEXTURE_USAGE_DEPTH_STENCIL,
     ).get_surface()
index 2042f705c2b8c5d94a77224de4ed03e4964116cd..e5e168bdc8df06c2a39ca5791fde789d0f65b9f6 100644 (file)
@@ -139,7 +139,7 @@ def test(dev):
         tex_usage=PIPE_TEXTURE_USAGE_RENDER_TARGET,
     ).get_surface()
     zbuf = dev.texture_create(
-        PIPE_FORMAT_Z16_UNORM, 
+        PIPE_FORMAT_Z32_UNORM,
         width, height,
         tex_usage=PIPE_TEXTURE_USAGE_DEPTH_STENCIL,
     ).get_surface()