Summary: | Rogue Legacy 4th area with corrupted textures | ||
---|---|---|---|
Product: | Mesa | Reporter: | Karol Herbst <karolherbst> |
Component: | Drivers/DRI/nouveau | Assignee: | Nouveau Project <nouveau> |
Status: | RESOLVED NOTOURBUG | QA Contact: | Nouveau Project <nouveau> |
Severity: | normal | ||
Priority: | medium | ||
Version: | git | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
apitrace
screenshot |
Description
Karol Herbst
2016-08-27 12:34:02 UTC
Created attachment 126069 [details]
apitrace
Created attachment 126070 [details]
screenshot
call 240510 is where the corrupted textures are drawn and those are generated in 95901 and 95918 it doesn't show the issue on 342e68dc60eebb20ac1be9f47800ee9e604354f0 After some investigation, this appears to be a game bug. It creates a texture with BGRA4 format, attaches it to a fb, and then tries to render to it. This is not always going to work in GL - you first have to check if a fb is complete. A FB might be incomplete for just about any reason, but format support is a big one. G80+ hardware supports BGRA4 for texturing but not for rendering. If this support is disabled, the state tracker will instead create a BGRA8 texture to back the BGRA4 GL texture, and rendering to that will obviously be supported. However the issue is in the application. |
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.