Tilman, Fell free to push this and future fixes to the python scripts. They haven't received any love for some time, especially after graw.
Jose On Sun, 2010-09-19 at 12:57 -0700, Tilman Sauerbeck wrote: > Signed-off-by: Tilman Sauerbeck <til...@code-monkey.de> > --- > > The same fix needs to be applied to a bunch of other Python scripts, > but tri.py seems to be a good starting point. > > src/gallium/tests/python/samples/tri.py | 8 ++++---- > 1 files changed, 4 insertions(+), 4 deletions(-) > > diff --git a/src/gallium/tests/python/samples/tri.py > b/src/gallium/tests/python/samples/tri.py > index fed929d..6d17c88 100644 > --- a/src/gallium/tests/python/samples/tri.py > +++ b/src/gallium/tests/python/samples/tri.py > @@ -88,8 +88,8 @@ def test(dev): > > # rasterizer > rasterizer = Rasterizer() > - rasterizer.front_winding = PIPE_WINDING_CW > - rasterizer.cull_mode = PIPE_WINDING_NONE > + rasterizer.front_ccw = False > + rasterizer.cull_face = PIPE_FACE_NONE > rasterizer.scissor = 1 > ctx.set_rasterizer(rasterizer) > > @@ -161,8 +161,8 @@ def test(dev): > # vertex shader > vs = Shader(''' > VERT > - DCL IN[0], POSITION, CONSTANT > - DCL IN[1], COLOR, CONSTANT > + DCL IN[0] > + DCL IN[1] > DCL OUT[0], POSITION, CONSTANT > DCL OUT[1], COLOR, CONSTANT > 0:MOV OUT[0], IN[0] _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev