draw: additional fix for the no-position case with llvm
authorRoland Scheidegger <sroland@vmware.com>
Sat, 2 Mar 2013 01:29:22 +0000 (02:29 +0100)
committerRoland Scheidegger <sroland@vmware.com>
Sat, 2 Mar 2013 01:54:31 +0000 (02:54 +0100)
commitc7c7186045ec617c53f7899280cbe12e59503e4d
tree4af22a71438d14ff976e438c7dbdc1c35c4adf37
parentea8b2ae8a50432a8dd51f144f4b981c592254de8
draw: additional fix for the no-position case with llvm

Similar fix to what is done for the non-llvm case, we could otherwise still
hit the stages (near certainly with gs) which crash. It is probably a much
better idea to skip trying to draw at that point anyway.

Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline_llvm.c