r300: r500 fragment program fixes
authorMaciej Cencora <m.cencora@gmail.com>
Wed, 10 Jun 2009 02:09:33 +0000 (04:09 +0200)
committerMaciej Cencora <m.cencora@gmail.com>
Thu, 11 Jun 2009 21:25:53 +0000 (23:25 +0200)
commit34cb4b6be36ccb03b4c0c76ecc3587984dd284dc
tree498a3a146d447f632bb618ad4f3632b15822784f
parente21e82f42549aa78214f3339a13b79791406dde0
r300: r500 fragment program fixes

- when rewriting per component negate swizzle, first instruction should get not negated source
- KIL instruction ignores swizzles

TODO:
- tex instructions does not support saturation
- tex instructions cannot read from consant memory
src/mesa/drivers/dri/r300/r500_fragprog.c