nvc0: implement point coord replacement
authorChristoph Bumiller <e0425955@student.tuwien.ac.at>
Sun, 23 Jan 2011 20:29:30 +0000 (21:29 +0100)
committerChristoph Bumiller <e0425955@student.tuwien.ac.at>
Sun, 23 Jan 2011 20:35:27 +0000 (21:35 +0100)
commita287a758c6567405a7ea10df21e586d1e2ff08ec
treea06f473b7558331d6c54c18ad208cd4f86f5a8b8
parentf154cd231552d16c66b87ca1e32be5451f6bdae4
nvc0: implement point coord replacement

But we have to cheat and peek at the GENERIC semantic indices the
state tracker uses for TEXn.
Only outputs from 0x300 to 0x37c can be replaced, and so we have to
know on shader compilation which ones to put there in order to keep
doing separate shader objects properly.

At some point I'll probably create a patch that makes gallium not
force us to discard the information about what is a TexCoord.
src/gallium/drivers/nvc0/nvc0_3d.xml.h
src/gallium/drivers/nvc0/nvc0_program.c
src/gallium/drivers/nvc0/nvc0_program.h
src/gallium/drivers/nvc0/nvc0_state_validate.c