Mesa (master): python: Prefer PIPE_FORMAT_Z32_UNORM.
Jose Fonseca
jrfonseca at kemper.freedesktop.org
Mon Jan 11 14:01:15 UTC 2010
Module: Mesa
Branch: master
Commit: 3e8c82037fcbfe87bb7df93259e6ebb9fdfe5cec
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3e8c82037fcbfe87bb7df93259e6ebb9fdfe5cec
Author: José Fonseca <jfonseca at vmware.com>
Date: Mon Jan 11 13:56:09 2010 +0000
python: Prefer PIPE_FORMAT_Z32_UNORM.
---
src/gallium/state_trackers/python/samples/gs.py | 2 +-
src/gallium/state_trackers/python/samples/tri.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/gallium/state_trackers/python/samples/gs.py b/src/gallium/state_trackers/python/samples/gs.py
index 6cffe3f..a07cf55 100644
--- a/src/gallium/state_trackers/python/samples/gs.py
+++ b/src/gallium/state_trackers/python/samples/gs.py
@@ -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()
diff --git a/src/gallium/state_trackers/python/samples/tri.py b/src/gallium/state_trackers/python/samples/tri.py
index 2042f70..e5e168b 100644
--- a/src/gallium/state_trackers/python/samples/tri.py
+++ b/src/gallium/state_trackers/python/samples/tri.py
@@ -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()
More information about the mesa-commit
mailing list