wined3d: Correct implementation of D3DSIO_LOOP.
commitc13f097de3ce04b98dad8a5a3f504055a276946b
authorJason Green <jave27@gmail.com>
Sat, 17 Jun 2006 03:01:20 +0000 (16 23:01 -0400)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 19 Jun 2006 09:11:45 +0000 (19 11:11 +0200)
tree3a17f6a3f6e3666b589cc6237160046ac3463950
parentfd83de7129dfbf3a5360aa2db1716a4c4de4223a
wined3d: Correct implementation of D3DSIO_LOOP.

I initially misread the specification.  src0.x is the iteration count,
not the max amount for the loop register.  This fixes that.
dlls/wined3d/glsl_shader.c