Closed Bug 769812 Opened 13 years ago Closed 13 years ago

ATI OpenGL driver renders point sprite upside-down

Categories

(Core :: Graphics: CanvasWebGL, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla16

People

(Reporter: bjacob, Assigned: bjacob)

References

Details

(Whiteboard: webgl-conformance)

Attachments

(1 file)

This is the reason why this test fails: https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/conformance-suites/1.0.1/conformance/glsl/variables/gl-pointcoord.html Attached patch fixes it, but will break down whenever the driver bug is fixed (in the sense that the upside-down bug will then resurface). I think we should still take it so at least we're not blocked on Apple.
Attachment #638009 - Flags: review?(jgilbert)
Comment on attachment 638009 [details] [diff] [review] work around upside-down point sprites Review of attachment 638009 [details] [diff] [review]: ----------------------------------------------------------------- Can we try to get ahead on this by querying the value before we set it properly? We could put a DEBUG abort in there which will let us know when this is fixed.
Attachment #638009 - Flags: review?(jgilbert) → review+
(In reply to Jeff Gilbert [:jgilbert] from comment #1) > Comment on attachment 638009 [details] [diff] [review] > work around upside-down point sprites > > Review of attachment 638009 [details] [diff] [review]: > ----------------------------------------------------------------- > > Can we try to get ahead on this by querying the value before we set it > properly? We could put a DEBUG abort in there which will let us know when > this is fixed. The bug is not at the level of which of UPPER_LEFT / LOWER_LEFT is current or default. The bug is that no matter what we ask for, the driver actually does the opposite. So it's not something we can easily detect by a GL getter call. We'd have to render a point sprite, readpixels, and look at the result.
Assignee: nobody → bjacob
Target Milestone: --- → mozilla16
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: