WebGL Conformance Test: context-attributes-alpha-depth-stencil-antialias.html fails with ANGLE D3D11

RESOLVED FIXED in Firefox 39

Status

()

Core
Canvas: WebGL
RESOLVED FIXED
3 years ago
3 years ago

People

(Reporter: Luke, Assigned: jgilbert)

Tracking

(Blocks: 1 bug)

38 Branch
mozilla39
x86_64
Windows 7
Points:
---

Firefox Tracking Flags

(firefox39 fixed)

Details

(Whiteboard: [gfx-noted], webgl-conformance, webgl-angle)

Attachments

(1 attachment)

(Reporter)

Description

3 years ago
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0
Build ID: 20150130030232

Steps to reproduce:

1. Visit https://www.khronos.org/registry/webgl/conformance-suites/1.0.2/conformance/context/context-attributes-alpha-depth-stencil-antialias.html
2. about:config -> webgl.angle.try-d3d11 = FALSE
3. Visit https://www.khronos.org/registry/webgl/conformance-suites/1.0.2/conformance/context/context-attributes-alpha-depth-stencil-antialias.html



Actual results:

d3d11 -> failed: should be 255,0,0,255
d3d9 -> PASS



Expected results:

d3d11 -> PASS
d3d9 -> PASS

Tested on Win 7 FF 38.0a1 (2015-01-30) Nightly
(Reporter)

Comment 1

3 years ago
It should be noted that Chrome Version 42.0.2291.1 passes this test.
Component: Untriaged → Canvas: WebGL
Product: Firefox → Core
Version: Firefox 38 → 38 Branch
Whiteboard: [gfx-noted]
(Reporter)

Updated

3 years ago
Whiteboard: [gfx-noted] → [gfx-noted],webgl-conformance,webgl-angle
Blocks: 845345
Whiteboard: [gfx-noted],webgl-conformance,webgl-angle → [gfx-noted], webgl-conformance, webgl-angle
(Assignee)

Comment 2

3 years ago
Created attachment 8575632 [details] [diff] [review]
fix-context-attribs.diff

Our version of ANGLE backs DEPTH16 textures with DEPTH24_STENCIL8, but fails to properly ignore the stencil buffer during stencil testing.

We can work around this by temporarily disabling stencil testing in this case.
Assignee: nobody → jgilbert
Status: UNCONFIRMED → NEW
Ever confirmed: true
Attachment #8575632 - Flags: review?(dglastonbury)
Attachment #8575632 - Flags: review?(dglastonbury) → review+
https://hg.mozilla.org/mozilla-central/rev/fe6afb4a5cc5
Status: NEW → RESOLVED
Last Resolved: 3 years ago
status-firefox39: --- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla39
You need to log in before you can comment on or make changes to this bug.