summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers/python
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2010-01-11 13:56:09 +0000
committerJosé Fonseca <jfonseca@vmware.com>2010-01-11 14:01:07 +0000
commit3e8c82037fcbfe87bb7df93259e6ebb9fdfe5cec (patch)
tree6cce562f01b6cab89d9eeee4d6d6f1d52e6fb4b6 /src/gallium/state_trackers/python
parent76185ecad6c220824b9f9fa96a3323ce38b17d52 (diff)
python: Prefer PIPE_FORMAT_Z32_UNORM.
Diffstat (limited to 'src/gallium/state_trackers/python')
-rw-r--r--src/gallium/state_trackers/python/samples/gs.py2
-rw-r--r--src/gallium/state_trackers/python/samples/tri.py2
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 6cffe3fd06..a07cf557f2 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 2042f705c2..e5e168bdc8 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()