nv50: fix POINT_COORD_REPLACE_MAP method size
authorChristoph Bumiller <e0425955@student.tuwien.ac.at>
Wed, 2 Mar 2011 20:07:33 +0000 (21:07 +0100)
committerChristoph Bumiller <e0425955@student.tuwien.ac.at>
Wed, 2 Mar 2011 20:07:33 +0000 (21:07 +0100)
Introduced in 223d98bb8d49c9e52e498a12980722467ae2bf87.

src/gallium/drivers/nv50/nv50_shader_state.c

index ee50ef8ed1639170cc9267fd83486d72f0e6a774..f7d78a3b11b99e7305892eb48862c606c72dcb3e 100644 (file)
@@ -234,7 +234,7 @@ nv50_sprite_coords_validate(struct nv50_context *nv50)
 
    if (!nv50->rast->pipe.point_quad_rasterization) {
       if (nv50->state.point_sprite) {
-         BEGIN_RING(chan, RING_3D(POINT_COORD_REPLACE_MAP(0)), 1);
+         BEGIN_RING(chan, RING_3D(POINT_COORD_REPLACE_MAP(0)), 8);
          for (i = 0; i < 8; ++i)
             OUT_RING(chan, 0);
 
@@ -275,7 +275,7 @@ nv50_sprite_coords_validate(struct nv50_context *nv50)
    BEGIN_RING(chan, RING_3D(POINT_SPRITE_CTRL), 1);
    OUT_RING  (chan, mode);
 
-   BEGIN_RING(chan, RING_3D(POINT_COORD_REPLACE_MAP(0)), 1);
+   BEGIN_RING(chan, RING_3D(POINT_COORD_REPLACE_MAP(0)), 8);
    OUT_RINGp (chan, pntc, 8);
 }