Closed
Bug 769812
Opened 13 years ago
Closed 13 years ago
ATI OpenGL driver renders point sprite upside-down
Categories
(Core :: Graphics: CanvasWebGL, defect)
Tracking
()
RESOLVED
FIXED
mozilla16
People
(Reporter: bjacob, Assigned: bjacob)
References
Details
(Whiteboard: webgl-conformance)
Attachments
(1 file)
4.28 KB,
patch
|
jgilbert
:
review+
|
Details | Diff | Splinter Review |
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 1•13 years ago
|
||
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+
Assignee | ||
Comment 2•13 years ago
|
||
Part of this tryserver push: https://tbpl.mozilla.org/?tree=Try&rev=35d614a1c367
Assignee | ||
Comment 3•13 years ago
|
||
(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 | ||
Comment 4•13 years ago
|
||
Assignee: nobody → bjacob
Target Milestone: --- → mozilla16
Comment 5•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Blocks: 834654
You need to log in
before you can comment on or make changes to this bug.
Description
•