summaryrefslogtreecommitdiffstats
path: root/configs/netbsd
diff options
context:
space:
mode:
authorPaul Berry <[email protected]>2011-12-26 14:20:47 -0800
committerPaul Berry <[email protected]>2012-01-05 13:27:11 -0800
commit989b5722dc350b01c4148b1cd978b71ec4bcfe81 (patch)
tree8955bd7626819a7355a5528e7930caae3d877591 /configs/netbsd
parent15f4bca2df47fed8af322217d62b35189f5ca4ab (diff)
i965: Fix transform feedback of gl_ClipVertex.
Previously, on i965 Gen6 and above, we weren't allocating space for gl_ClipVertex in the VUE, since the VS was automatically converting it to clip distances. This prevented transform feedback from being able to capture gl_ClipVertex. This patch goes aheads and allocates space for gl_ClipVertex in the VUE on Gen6 and above. The old behavior is retained on Gen5 and below, since (a) transform feedback is not yet supported on those platforms, and (b) those platforms don't currently support gl_ClipVertex anyhow. Note: this constitutes a slight waste of VUE space for shaders that use gl_ClipVertex and don't use transform feedback to capture it. However, that seems preferable to making the VUE map (and all of the state that depends on it) dependent on transform feedback settings. Fixes Piglit test "EXT_transform_feedback/builtin-varyings gl_ClipVertex". Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'configs/netbsd')
0 files changed, 0 insertions, 0 deletions