Bug 39083

Summary: [regression, bisected, r600g] Wrong rendering of Bubbles3D screensaver
Product: Mesa Reporter: Jure Repinc <jlp.bugs>
Component: Drivers/Gallium/r600Assignee: Default DRI bug account <dri-devel>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: git   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: bubble3d-good.png
bubble3d-bad.png
[PATCH] r600g: LIT: clamp negative src.y to 0

Description Jure Repinc 2011-07-08 23:45:41 UTC
Instead of looking smooth and nicely translucent some part of bubbles appear to be opaque. I've bisected and the commit that caused this bad rendering is:

86f8b4117f35c788c8a043c2e241eb19eaacae8c
- r600g: LIT: swap MUL_LIT operands to fix 0^0

This is on AMD Radeon HD 5750 and with XScreenSaver 5.14
Comment 1 Jure Repinc 2011-07-08 23:46:20 UTC
Created attachment 48911 [details]
bubble3d-good.png
Comment 2 Jure Repinc 2011-07-08 23:46:49 UTC
Created attachment 48912 [details]
bubble3d-bad.png
Comment 3 Vadim Girlin 2011-07-09 02:55:17 UTC
Created attachment 48913 [details] [review]
[PATCH] r600g: LIT: clamp negative src.y to 0

Does this patch help?
Comment 4 Jure Repinc 2011-07-09 08:10:44 UTC
Yes, with the patch applied the problem is gone. Thank you very much.

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.