Closed Bug 1129213 Opened 5 years ago Closed 5 years ago

Support non-UINT32_MAX initial values for STENCIL_VALUE_MASK

Categories

(Core :: Canvas: WebGL, defect)

38 Branch
defect
Not set

Tracking

()

RESOLVED FIXED
mozilla38
Tracking Status
firefox38 --- fixed

People

(Reporter: jgilbert, Assigned: jgilbert)

References

Details

Attachments

(1 file)

GLES3 at least only specifies that the initial value for this is `(1 << foo) - 1`, where `foo` >= max-implementation-supported-stencil-bits.

Specifically:
> and the front and back stencil mask are both set to the
> value `2^s - 1`, where `s` is greater than or equal to the number of bits in the deepest
> stencil buffer supported by the GL implementation.
Attachment #8558807 - Flags: review?(dglastonbury)
Attachment #8558807 - Flags: review?(dglastonbury) → review+
https://hg.mozilla.org/mozilla-central/rev/d884b835ecef
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla38
You need to log in before you can comment on or make changes to this bug.