r300: always assume all components are read by fragment program
authorMaciej Cencora <m.cencora@gmail.com>
Sun, 12 Jul 2009 13:09:15 +0000 (15:09 +0200)
committerMaciej Cencora <m.cencora@gmail.com>
Mon, 13 Jul 2009 17:28:15 +0000 (19:28 +0200)
commit582bd3466514b9fe24f18d99af2945f02709aacd
tree48a7d472ecc427296ce610ea333181c109ffe4bf
parentf06910f6c34f199dc187bd69ff1f6889ba498217
r300: always assume all components are read by fragment program

Components of input attributes that are used by fragment program aren't part of vertex program key, and that may lead to situations when vertex program writes only TEX1.xy and fragment program reads TEX1.xyz, resulting in rendering errors.

Reported-by: Nicolai Hähnle <nhaehnle@gmail.com>
src/mesa/drivers/dri/r300/r300_vertprog.c