From fbabeb9b56d2e4691ae39339a805d24e860603bb Mon Sep 17 00:00:00 2001 From: Michal Krol Date: Thu, 2 Apr 2009 09:59:04 +0200 Subject: [PATCH] python/regress: Do not create zbuf for vertex shader test. --- .../python/tests/regress/vertex-shader/vertex-shader.py | 9 +-------- 1 file changed, 1 insertion(+), 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()) -- 2.30.2