Bug 32651

Summary: [RADEON:KMS:R600G] earth's oceans are wrong colour in celestia
Product: Mesa Reporter: Chris Rankin <rankincj>
Component: Drivers/Gallium/r600Assignee: Default DRI bug account <dri-devel>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium CC: acelists
Version: git   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: The Earth, "OpenGL Vertex Program" rendering path
The Earth, "OpenGL 2" rendering path

Description Chris Rankin 2010-12-25 11:34:58 UTC
When viewed with the "OpenGL vertex program" rendering path, the Earth's oceans in celestia are coloured the wrong shade of blue. (The "OpenGL 2.0" rendering path gets it right, though.)
Comment 1 Jerome Glisse 2011-03-07 11:24:20 UTC
Do you still have this issue with lastest mesa ?
Comment 2 Chris Rankin 2011-03-07 12:47:35 UTC
Created attachment 44212 [details]
The Earth, "OpenGL Vertex Program" rendering path

Too much light on the oceans, perhaps?
Comment 3 Chris Rankin 2011-03-07 12:48:21 UTC
Created attachment 44213 [details]
The Earth, "OpenGL 2" rendering path

For comparison.
Comment 4 aceman 2011-05-02 12:17:36 UTC
For reference, I think I get correct colour on R600c - the same as previous attachment.
Comment 5 Chris Rankin 2011-06-27 14:32:13 UTC
I've just tested celestia against Mesa-git, with the following commit as HEAD:

commit d2c6cef18aa37d197eb323a0795969d271d02819
Author: Ian Romanick <ian.d.romanick@intel.com>
Date:   Thu Jun 2 12:42:48 2011 -0700

    glsl: Fix depth unbalancing problem in if-statement flattening

And I'm happy to say that the oceans are the correct colour with the "OpenGL Vertex Program" rendering path.

Yay!
Comment 6 Michel Dänzer 2011-06-28 00:45:01 UTC
(In reply to comment #5)
> And I'm happy to say that the oceans are the correct colour with the "OpenGL
> Vertex Program" rendering path.

Thanks for the followup, resolving (feel free to do this yourself in the future :).

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.