Summary: | [965 OGLC] fptex.c test case fails | ||
---|---|---|---|
Product: | Mesa | Reporter: | Ian Romanick <idr> |
Component: | Drivers/DRI/i965 | Assignee: | Ian Romanick <idr> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | brian.paul, haien.liu |
Version: | git | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | Check the texture coordinate and texture image unit separately. |
Description
Ian Romanick
2009-01-08 10:34:38 UTC
fptex.c? I don't see a file by that name in the Mesa tree. arbprogparse appears to be clueless about texture image units versus coord units. Invalid texture unit index File - fptex.c, line - 1075. !!ARBfp1.0 OUTPUT out = result.color; TEMP textemp1, textemp2; TEX textemp1, fragment.texcoord[7],texture[7], 1D; TEX textemp2, fragment.texcoord[6],texture[8], 1D; ADD out, textemp1, textemp2; END Created attachment 21961 [details] [review] Check the texture coordinate and texture image unit separately. Proposed fix. Check the texture coordinate and texture image unit separately. I haven't checked to see if nvprogparse.c needs the same treatment. I haven't tested this yet either. Ian, I was about to post a patch as well. Your's and mine look nearly identical. If it indeed fixes the bug go ahead and commit. I verified the proposed fix a couple minutes ago, and everything looks good. I committed as 2549c26a8b1eec21bdd8f45d3b3dd06e17ac82ae. Mass version move, cvs -> git |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.