Bug 40268

Summary: glClampColor function is not found
Product: xorg Reporter: snake5creator
Component: Driver/RadeonAssignee: xf86-video-ati maintainers <xorg-driver-ati>
Status: RESOLVED NOTABUG QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
glxinfo output
none
dmesg output
none
latest xorg log none

Description snake5creator 2011-08-21 06:32:20 UTC
Tried to call glClampColor to disable clamping of shader outputs.
Works on fglrx and the Catalyst drivers on Windows.
glew didn't find the function with this driver (glClampColor=NULL, calling it means getting a segfault).
Comment 1 Alex Deucher 2011-08-21 08:57:42 UTC
What hardware and driver are you using?  Please attach your xorg log, dmesg output, and glxinfo output.
Comment 2 snake5creator 2011-08-21 12:12:33 UTC
Created attachment 50434 [details]
glxinfo output
Comment 3 snake5creator 2011-08-21 12:13:15 UTC
Created attachment 50435 [details]
dmesg output
Comment 4 snake5creator 2011-08-21 12:13:56 UTC
Created attachment 50436 [details]
latest xorg log
Comment 5 snake5creator 2011-08-21 12:18:16 UTC
I'm using MSI Radeon HD 4850 and the latest xorg driver I could get from Synaptic. Last message in dmesg log is the same error that I described before.
Comment 6 Michel Dänzer 2011-08-22 01:25:32 UTC
I don't think there's a bug here: glClampColor is an OpenGL 3.0 function, but as you can see in the glxinfo output, the driver (just like any other Mesa driver) can only support OpenGL 2.1.
Comment 7 snake5creator 2011-08-22 01:35:32 UTC
Ah, right. Unfortunately. Perhaps anyone have any idea when could GL3+ support be coming to Mesa and these drivers?

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.