summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv50/nv50_program.c
diff options
context:
space:
mode:
authorPaul Berry <[email protected]>2012-12-17 09:55:48 -0800
committerPaul Berry <[email protected]>2012-12-18 09:02:53 -0800
commit1b37fc40fc1d443e7ab9f930f78af9a32525698a (patch)
treebac86839dc84ed051f7081e9bad0b2ce09828522 /src/gallium/drivers/nv50/nv50_program.c
parent5b7099c74d7774dc59895536bad53bd1196e398c (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/gallium/drivers/nv50/nv50_program.c')
0 files changed, 0 insertions, 0 deletions