draw: kill off bogus assertion in tgsi_fetch_gs_outputs
authorRoland Scheidegger <sroland@vmware.com>
Wed, 27 Aug 2014 23:06:11 +0000 (01:06 +0200)
committerRoland Scheidegger <sroland@vmware.com>
Fri, 29 Aug 2014 23:17:47 +0000 (01:17 +0200)
commit26a5156de7e11f21a8690cf159b643e45b4f90a8
treebbb443c34a47168188ed6930e24724c40bf48399
parentc9ae5038d564ec10a12658a2440cf49f83f1fab8
draw: kill off bogus assertion in tgsi_fetch_gs_outputs

Not sure why it was there but it is definitely not an error if gs outputs are
infs/nans. Besides, the outputs can be ints, in which case any small negative
number asserted.
This fixes piglit's texelFetch gs isamplerXX crashes with softpipe (down from
14 to 2).

Bug https://bugs.freedesktop.org/show_bug.cgi?id=80012

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/gallium/auxiliary/draw/draw_gs.c