summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv50
diff options
context:
space:
mode:
authorChristoph Bumiller <[email protected]>2011-03-02 21:07:33 +0100
committerChristoph Bumiller <[email protected]>2011-03-02 21:07:33 +0100
commitfa94f8b209c111f2c3cd9250d9fec6cd03726114 (patch)
tree2c8e4dc656dc029c8721e997ad44f862453a68f1 /src/gallium/drivers/nv50
parent47a62b1ca1357ea1f60ae60dd0cfd72f8e5fa1b3 (diff)
nv50: fix POINT_COORD_REPLACE_MAP method size
Introduced in 223d98bb8d49c9e52e498a12980722467ae2bf87.
Diffstat (limited to 'src/gallium/drivers/nv50')
-rw-r--r--src/gallium/drivers/nv50/nv50_shader_state.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/nv50/nv50_shader_state.c b/src/gallium/drivers/nv50/nv50_shader_state.c
index ee50ef8ed16..f7d78a3b11b 100644
--- a/src/gallium/drivers/nv50/nv50_shader_state.c
+++ b/src/gallium/drivers/nv50/nv50_shader_state.c
@@ -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);
}