Summary: | [wine] Devil May Cry 4: TXD tgsi opcode unsupported / translation from TGSI failed / missing vertex shader | ||
---|---|---|---|
Product: | Mesa | Reporter: | Sven Arvidsson <sa> |
Component: | Drivers/Gallium/r600 | Assignee: | mesa-dev |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | mike.kaplinskiy |
Version: | git | ||
Hardware: | x86 (IA32) | ||
OS: | All | ||
URL: | http://www.gamershell.com/download_27216.shtml | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | Incomplete patch |
Description
Sven Arvidsson
2011-05-22 13:05:15 UTC
[changing assignee as this is clearly a mesa bug] piglit arb_shader_texture_lod-texgrad shows the problem (using texture2DGradARB). Currently running it may also get you a fortify crash due to TXD having 4 inputs (the max in the context structure is 3). I'm attaching a patch that has an implementation. Unfortunately I can't seem to get it to work entirely correctly. The piglit test looks almost correct but has several artifacts in random places. If someone could point me in the right direction (as I'm completely clueless), I would be happy to finish it. In case it matters, piglit does not show any new failures from this patch. Created attachment 47580 [details] [review] Incomplete patch Thanks for working on this. I can't comment on the patch, but the errors from the game are indeed gone now. It's still not rendering correctly, but it might just as well be some other bug or a regression in Wine. Hi Mike, you might have noticed I pushed something that worked, then found this patch, which I preferred to mine, so I fixed up the code with your authorship on a few patches derived from this. Please test and let me know if it works for you, as I have a few differences from your code. Dave. Hey Dave, Seems to work fine here on barts. That "slight hack to make gradients always go into same cf" is what my patch was missing :(. My patch had some error checks for the cases when there was no sampler (DDX/DDY), but those never seemed to be bothering anyone. I would say looks good to me :). Sven, would you like to try your game again to see if the rendering is any better? Mike. (In reply to comment #5) > Sven, would you like to try your game again to see if the rendering is any > better? There's still rendering issues, but it seems to be shader compiler issues, so I'm going to file new bugs for these. Thanks for working on this! FWIW the shader issues was resolved with an upgrade to the latest version of Wine. |
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.