diff options
author | Paul Berry <stereotype441@gmail.com> | 2012-12-17 09:55:48 -0800 |
---|---|---|
committer | Paul Berry <stereotype441@gmail.com> | 2012-12-18 09:02:53 -0800 |
commit | 1b37fc40fc1d443e7ab9f930f78af9a32525698a (patch) | |
tree | bac86839dc84ed051f7081e9bad0b2ce09828522 /src/gallium | |
parent | 5b7099c74d7774dc59895536bad53bd1196e398c (diff) | |
download | external_mesa3d-1b37fc40fc1d443e7ab9f930f78af9a32525698a.zip external_mesa3d-1b37fc40fc1d443e7ab9f930f78af9a32525698a.tar.gz external_mesa3d-1b37fc40fc1d443e7ab9f930f78af9a32525698a.tar.bz2 |
i965: Fix gl_VertexID when there are no other vertex inputs.
brw_emit_vertices contains special case logic to handle the case where
a vertex shader doesn't read any inputs. This special case logic was
incorrectly activating in the case were the only vertex input is
gl_VertexID. As a result, if a shader used gl_VertexID but used no
other inputs, then all vertices got a gl_VertexID of zero.
Fixes oglconform test "ubo-usage advanced.transform_feedback".
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Diffstat (limited to 'src/gallium')
0 files changed, 0 insertions, 0 deletions