diff options
author | Paul Berry <[email protected]> | 2012-12-17 09:55:48 -0800 |
---|---|---|
committer | Paul Berry <[email protected]> | 2012-12-18 09:02:53 -0800 |
commit | 1b37fc40fc1d443e7ab9f930f78af9a32525698a (patch) | |
tree | bac86839dc84ed051f7081e9bad0b2ce09828522 /src/mesa/drivers/SConscript | |
parent | 5b7099c74d7774dc59895536bad53bd1196e398c (diff) |
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 <[email protected]>
Diffstat (limited to 'src/mesa/drivers/SConscript')
0 files changed, 0 insertions, 0 deletions