Hi, the attached patch should be an improvement over Vadim Girlin's patch fixing LIT instruction for r600g (commit 2fe39b46e73aea37152777fe11d489e0b1bc3f92).
Instructions used in tgsi_lit have been reordered to always write to a dst channel after the same channel in src has been read (so if src == dst, input values are not overwritten before being used). I've sent the accompagnying test case to piglit ML. Pierre-Eric -------------- next part -------------- A non-text attachment was scrubbed... Name: 0001-r600g-reorder-LIT-instructions-to-support-src-dst.patch Type: text/x-patch Size: 3201 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20110620/c9d11834/attachment.bin>