draw/gs: don't crash when vs/gs signatures don't match
authorZack Rusin <zackr@vmware.com>
Thu, 2 May 2013 01:09:32 +0000 (21:09 -0400)
committerZack Rusin <zackr@vmware.com>
Thu, 2 May 2013 06:43:42 +0000 (02:43 -0400)
commit396b861ceb4efd50638598cc8092362bd5c14c49
tree2c2866a9340e48bc93f213e47f8883e34401aa83
parent999cd79c9e1a5dc2d3f126670a1ca7ea4e7ee128
draw/gs: don't crash when vs/gs signatures don't match

instead of crashing just fill zeros at the input slots that don't
match, that's the mandated behavior and it avoids debug asserts.

Signed-off-by: Zack Rusin <zackr@vmware.com>
Reviewed-by: José Fonseca <jfonseca@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/gallium/auxiliary/draw/draw_gs.c