summaryrefslogtreecommitdiff
path: root/progs/gallium/python/tests/regress/fragment-shader
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2010-04-12 15:08:05 +0900
committerJosé Fonseca <jfonseca@vmware.com>2010-04-12 15:32:23 +0900
commit19211bb5b8fa406fde294ec84f814e3b7881c474 (patch)
treeb8ee78981259be11e0c583bd85284e9bfbdba29d /progs/gallium/python/tests/regress/fragment-shader
parentc48f21ea7cb9634c1865514f069b8c0993cb5daf (diff)
progs/gallium/python: Try to fix most regressions.
Not enough for retrace to work again though.
Diffstat (limited to 'progs/gallium/python/tests/regress/fragment-shader')
-rw-r--r--progs/gallium/python/tests/regress/fragment-shader/fragment-shader.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/progs/gallium/python/tests/regress/fragment-shader/fragment-shader.py b/progs/gallium/python/tests/regress/fragment-shader/fragment-shader.py
index b758b4c622..ef65a9c5a1 100644
--- a/progs/gallium/python/tests/regress/fragment-shader/fragment-shader.py
+++ b/progs/gallium/python/tests/regress/fragment-shader/fragment-shader.py
@@ -112,10 +112,10 @@ def test(dev, name):
ctx.set_clip(clip)
# framebuffer
- cbuf = dev.texture_create(
+ cbuf = dev.resource_create(
PIPE_FORMAT_B8G8R8X8_UNORM,
width, height,
- tex_usage=PIPE_TEXTURE_USAGE_RENDER_TARGET,
+ bind=PIPE_BIND_RENDER_TARGET,
).get_surface()
fb = Framebuffer()
fb.width = width