summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/r600_texture.c
diff options
context:
space:
mode:
authorPaul Berry <stereotype441@gmail.com>2012-12-17 09:55:48 -0800
committerPaul Berry <stereotype441@gmail.com>2012-12-18 09:02:53 -0800
commit1b37fc40fc1d443e7ab9f930f78af9a32525698a (patch)
treebac86839dc84ed051f7081e9bad0b2ce09828522 /src/gallium/drivers/r600/r600_texture.c
parent5b7099c74d7774dc59895536bad53bd1196e398c (diff)
downloadexternal_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/drivers/r600/r600_texture.c')
0 files changed, 0 insertions, 0 deletions