Summary: | [Mesa AMD&swrast] Texture views attached as framebuffers return their viewed tecture's color encoding and render incorrectly | ||
---|---|---|---|
Product: | Mesa | Reporter: | Edwin Smith (Feral Interactive) <esmith> |
Component: | Drivers/Gallium/radeonsi | Assignee: | Default DRI bug account <dri-devel> |
Status: | VERIFIED FIXED | QA Contact: | Default DRI bug account <dri-devel> |
Severity: | normal | ||
Priority: | medium | ||
Version: | git | ||
Hardware: | Other | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
TextureViewFramebufferSRGB Test Sample Code
AMD Mesa Output (Incorrect Behaviour) Intel Output (Correct Behaviour) Nvidia Output (Correct Behaviour) Swrast Output (Incorrect Behaviour) |
Description
Edwin Smith (Feral Interactive)
2016-03-17 16:33:53 UTC
Thanks for the report - did you forget to attach a source file? Created attachment 122407 [details]
TextureViewFramebufferSRGB Test Sample Code
Created attachment 122408 [details]
AMD Mesa Output (Incorrect Behaviour)
Created attachment 122409 [details]
Intel Output (Correct Behaviour)
Created attachment 122410 [details]
Nvidia Output (Correct Behaviour)
Created attachment 122411 [details]
Swrast Output (Incorrect Behaviour)
Hi Edwin, thanks for following up with the details. I'm going to look into this. There is a patch at https://patchwork.freedesktop.org/patch/77510/ which fixes your test case (and should fix format casting with render-to-texture more generally). Let us know if this fixes your SRGB-related rendering problems. Fixed in Mesa master, commit a8b315b8271e867db30650dedb52e53d8dd9667c The test case submitted now works as expected using the latest mesa git drivers. Thank you for such a quick fix! |
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.