summaryrefslogtreecommitdiffstats
path: root/src/egl
diff options
context:
space:
mode:
authorPaul Berry <stereotype441@gmail.com>2011-12-26 14:20:47 -0800
committerPaul Berry <stereotype441@gmail.com>2012-01-05 13:27:11 -0800
commit989b5722dc350b01c4148b1cd978b71ec4bcfe81 (patch)
tree8955bd7626819a7355a5528e7930caae3d877591 /src/egl
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 <kenneth@whitecape.org>
Diffstat (limited to 'src/egl')
0 files changed, 0 insertions, 0 deletions