diff options
author | Eric Anholt <[email protected]> | 2010-05-17 17:07:33 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2010-05-17 17:47:07 -0700 |
commit | 64f5e9059b975e34885e63bc404b30b1b2c28de8 (patch) | |
tree | bcb3512b689ace460c28278063b5439ea0db45e6 /src/mesa/drivers/dri/i965/brw_sf.c | |
parent | b8b2670fef4790d650939fece8c7e6c7b76c3171 (diff) |
i965: Fix point coordinate replacement after airlied's ffvertex changes.
This basically restores the previous state, where a vertex result slot
is set up for the texcoord to be replaced with point coord. Fixes
piglit point-sprite test.
Bug #27625
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_sf.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_sf.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_sf.c b/src/mesa/drivers/dri/i965/brw_sf.c index e05a038d483..b0dd1ff3afb 100644 --- a/src/mesa/drivers/dri/i965/brw_sf.c +++ b/src/mesa/drivers/dri/i965/brw_sf.c @@ -163,6 +163,7 @@ static void upload_sf_prog(struct brw_context *brw) break; } + /* _NEW_POINT */ key.do_point_sprite = ctx->Point.PointSprite; if (key.do_point_sprite) { int i; |