draw/llvm: fix inputs to the geometry shader
authorZack Rusin <zackr@vmware.com>
Wed, 27 Feb 2013 09:28:18 +0000 (01:28 -0800)
committerZack Rusin <zackr@vmware.com>
Wed, 6 Mar 2013 04:13:08 +0000 (20:13 -0800)
commit2532147f8b28c3a990ad64288ece4b7f8decd237
treeb4d10d42062f850f4e6a03852cf3dae8f863151c
parent8c74380b2dd99c38fe813516d5d5aa023f92384d
draw/llvm: fix inputs to the geometry shader

We can't clip and viewport transform the vertices before we let
the geometry shader process them. Lets make sure the generated
vertex shader has both disabled if geometry shader is present.

Signed-off-by: Zack Rusin <zackr@vmware.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: José Fonseca <jfonseca@vmware.com>
src/gallium/auxiliary/draw/draw_llvm.c