gallium: remove some debug assertions in vertex format validation
authorBrian <brian.paul@tungstengraphics.com>
Fri, 15 Feb 2008 02:18:09 +0000 (19:18 -0700)
committerBrian <brian.paul@tungstengraphics.com>
Fri, 15 Feb 2008 02:18:09 +0000 (19:18 -0700)
commit663f4aaae618a8f031fa1a6b5292ddc57698741c
tree7b1c71b4c2c7c8640037144db0b6a865e8399720
parent3d81a956b9de709de17a98b93fead4d3307b2b99
gallium: remove some debug assertions in vertex format validation

If a fragment shader references an input for which there's no vertex
shader output (ex: texcoord3), use vertex output 0 by default.
Basically, the attribute's value will be undefined.  The shader writer
should never rely on undefined fragment shader inputs anyway.
src/mesa/pipe/softpipe/sp_state_derived.c