Closed Bug 749497 Opened 12 years ago Closed 5 years ago

Sort out behavior of vertexAttribPointer for negative offset values

Categories

(Core :: Graphics: CanvasWebGL, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: bzbarsky, Unassigned)

References

Details

(Whiteboard: webgl-correctness)

Right now our in-tree test suite (and the official test suite) has a test that depends on -8000000000 as an offset value not generating an error.  The official test suite has both that _and_ a test that -4 as an offset value _does_ generate an error.

The only way to pass both tests is to treat the argument as a signed 32-bit int and forbid negative values.  That's what we do right now.

Per spec, the argument is a signed 64-bit int.

So we need to either get the spec or the tests changed; a UA implementing the spec cannot pass both of the tests in the official test suite.
Depends on: 754669
Whiteboard: webgl-correctness

I no longer see a test for -8000000000, so it looks like this was resolved upstream.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.