diff options
author | Paul Berry <[email protected]> | 2011-12-26 13:58:46 -0800 |
---|---|---|
committer | Paul Berry <[email protected]> | 2012-01-05 13:27:11 -0800 |
commit | 15f4bca2df47fed8af322217d62b35189f5ca4ab (patch) | |
tree | a349986c056444d2c529e1ea86992633d9b06181 /configs/linux-x86-64-static | |
parent | 1be0fd8c86cac0775fd4451eb332effc70ccdbe5 (diff) |
i965: Fix transform feedback of gl_PointSize.
On i965 Gen6 and above, gl_PointSize is stored in component W of the
first VUE slot (which corresponds to VERT_RESULT_PSIZ in the VUE map).
Normally we store varying floats in component X of a VUE slot, so we
need special case logic for gl_PointSize.
For Gen6, we do this with a ".wwww" swizzle in the GS. For Gen7, we
shift the component mask by 3 to select the W component.
Fixes Piglit test "EXT_transform_feedback/builtin-varyings
gl_PointSize".
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'configs/linux-x86-64-static')
0 files changed, 0 insertions, 0 deletions