summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2009-03-26 12:04:15 +0000
committerJosé Fonseca <jfonseca@vmware.com>2009-03-26 12:04:15 +0000
commit7138cd700997a353bfa127495b3f11adeab68940 (patch)
tree714ff8f56909248ec206c862dae5e5d5e8b55a01
parentbb84ce71593d79bae9e8a5a8bdd4b2bd6aba2c87 (diff)
python: Fix the texture test.
-rw-r--r--src/gallium/state_trackers/python/tests/texture.py19
1 files changed, 1 insertions, 18 deletions
diff --git a/src/gallium/state_trackers/python/tests/texture.py b/src/gallium/state_trackers/python/tests/texture.py
index 8cec57e2a6..ce1c66720b 100644
--- a/src/gallium/state_trackers/python/tests/texture.py
+++ b/src/gallium/state_trackers/python/tests/texture.py
@@ -168,26 +168,9 @@ class TextureTest(TestCase):
rasterizer = Rasterizer()
rasterizer.front_winding = PIPE_WINDING_CW
rasterizer.cull_mode = PIPE_WINDING_NONE
- rasterizer.bypass_clipping = 1
- #rasterizer.bypass_vs = 1
+ rasterizer.bypass_vs_clip_and_viewport = 1
ctx.set_rasterizer(rasterizer)
- # viewport (identity, we setup vertices in wincoords)
- viewport = Viewport()
- scale = FloatArray(4)
- scale[0] = 1.0
- scale[1] = 1.0
- scale[2] = 1.0
- scale[3] = 1.0
- viewport.scale = scale
- translate = FloatArray(4)
- translate[0] = 0.0
- translate[1] = 0.0
- translate[2] = 0.0
- translate[3] = 0.0
- viewport.translate = translate
- ctx.set_viewport(viewport)
-
# samplers
sampler = Sampler()
sampler.wrap_s = PIPE_TEX_WRAP_CLAMP_TO_EDGE