Skip to content
Snippets Groups Projects
Commit 6861a701 authored by Emma Anholt's avatar Emma Anholt
Browse files

i965/gen6: Add support for gl_PointCoord.


This is just like PointSprite overrides, but it's always on for that
attribute.

Fixes glsl-fs-pointcoord, gtf/point_sprites.

Acked-by: Kenneth Graunke's avatarKenneth Graunke <kenneth@whitecape.org>
parent f304bb8a
No related branches found
No related tags found
No related merge requests found
......@@ -251,6 +251,9 @@ upload_sf_state(struct brw_context *brw)
dw16 |= (1 << input_index);
}
if (attr == FRAG_ATTRIB_PNTC)
dw16 |= (1 << input_index);
/* The hardware can only do the overrides on 16 overrides at a
* time, and the other up to 16 have to be lined up so that the
* input index = the output index. We'll need to do some
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment