diff options
author | Michal Krol <[email protected]> | 2009-04-02 09:59:04 +0200 |
---|---|---|
committer | Michal Krol <[email protected]> | 2009-04-02 10:00:11 +0200 |
commit | fbabeb9b56d2e4691ae39339a805d24e860603bb (patch) | |
tree | f483df3eb2aaebec44fe6a1e43eb6c070fe8ab97 /src/gallium/state_trackers | |
parent | 336a4f84e87908692a8c9424f6f5d27dca30ea95 (diff) |
python/regress: Do not create zbuf for vertex shader test.
Diffstat (limited to 'src/gallium/state_trackers')
-rw-r--r-- | src/gallium/state_trackers/python/tests/regress/vertex-shader/vertex-shader.py | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/gallium/state_trackers/python/tests/regress/vertex-shader/vertex-shader.py b/src/gallium/state_trackers/python/tests/regress/vertex-shader/vertex-shader.py index 196fcc2d983..362dec3b9cd 100644 --- a/src/gallium/state_trackers/python/tests/regress/vertex-shader/vertex-shader.py +++ b/src/gallium/state_trackers/python/tests/regress/vertex-shader/vertex-shader.py @@ -59,7 +59,7 @@ def test(dev, name): # depth/stencil/alpha depth_stencil_alpha = DepthStencilAlpha() - depth_stencil_alpha.depth.enabled = 1 + depth_stencil_alpha.depth.enabled = 0 depth_stencil_alpha.depth.writemask = 1 depth_stencil_alpha.depth.func = PIPE_FUNC_LESS ctx.set_depth_stencil_alpha(depth_stencil_alpha) @@ -116,20 +116,13 @@ def test(dev, name): width, height, tex_usage=PIPE_TEXTURE_USAGE_DISPLAY_TARGET, ).get_surface() - zbuf = dev.texture_create( - PIPE_FORMAT_Z32_UNORM, - width, height, - tex_usage=PIPE_TEXTURE_USAGE_DEPTH_STENCIL, - ).get_surface() fb = Framebuffer() fb.width = width fb.height = height fb.nr_cbufs = 1 fb.set_cbuf(0, cbuf) - fb.set_zsbuf(zbuf) ctx.set_framebuffer(fb) ctx.surface_clear(cbuf, 0x80808080) - ctx.surface_clear(zbuf, 0xffffffff) # vertex shader vs = Shader(file('vert-' + name + '.sh', 'rt').read()) |