fix up access to vertex attrib components which don't really exist but are defined...
authorRoland Scheidegger <rscheidegger@gmx.ch>
Fri, 22 Sep 2006 15:48:50 +0000 (15:48 +0000)
committerRoland Scheidegger <rscheidegger@gmx.ch>
Fri, 22 Sep 2006 15:48:50 +0000 (15:48 +0000)
commit9f819dc0145aabe18717dcd1de6e83e62bb8b19a
tree23157282a07ccbb9ed13bf2fe36cdda38a052f13
parent9c5d75e592edd15b737294853fc247b66d74619e
fix up access to vertex attrib components which don't really exist but are defined to some default value by the spec (fogcoord yzw, normal w, secondary color w), by replacing those components with zero/one respectively using swizzling.
src/mesa/drivers/dri/r200/r200_vertprog.c