Closed Bug 779580 Opened 13 years ago Closed 13 years ago

Blacklist WebGL MSAA on Intel driver on Mesa 8.1, as it was lying about GL_MAX_SAMPLES

Categories

(Core :: Graphics: CanvasWebGL, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla17

People

(Reporter: bjacob, Assigned: bjacob)

References

Details

(Whiteboard: webgl-conformance)

Attachments

(1 file, 1 obsolete file)

As discussed on the mesa-dev list, the Intel Mesa driver (as of Mesa 8.0) wrongly returns GL_MAX_SAMPLES>0 even though the correct value is 0 (does not support msaa FBOs). That's causing a test failure in https://www.khronos.org/registry/webgl/conformance-suites/1.0.1/conformance/context/context-attributes-alpha-depth-stencil-antialias.html which is actually the very last 1.0.1 test failure. Setting webgl.msaa-level=0 does now give a full pass, and as we already have a full pass on NVIDIA 302.17, it's worth doing a little workaround to get that second full pass we need to claim conformance on Linux. So let's assume that Intel Mesa never supports msaa FBOs, until further notice. I asked mesa devs if it's already fixed in trunk; if it is, we'll do a version check instead.
Summary: Assume that the Intel Mesa driver lies about GL_MAX_SAMPLES, assume 0 → Blacklist WebGL MSAA on Intel Mesa driver until it stops lying about GL_MAX_SAMPLES
Attached patch block msaa on Intel (obsolete) — Splinter Review
Attachment #648034 - Flags: review?(jgilbert)
Attachment #648034 - Attachment is obsolete: true
Attachment #648034 - Flags: review?(jgilbert)
Attachment #648037 - Flags: review?(jgilbert)
Ken from the mesa-dev list confirmed that this is fixed in versions >= 8.1.0.
Summary: Blacklist WebGL MSAA on Intel Mesa driver until it stops lying about GL_MAX_SAMPLES → Blacklist WebGL MSAA on Intel driver on Mesa 8.1, as it was lying about GL_MAX_SAMPLES
Attachment #648037 - Flags: review?(jgilbert) → review+
Assignee: nobody → bjacob
Target Milestone: --- → mozilla17
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Depends on: 1080277
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: