RESOLVED INVALID 67632
depthRange, zNear should not exceed zFar
https://bugs.webkit.org/show_bug.cgi?id=67632
Summary depthRange, zNear should not exceed zFar
Tapani Pälli
Reported 2011-09-06 00:43:33 PDT
WebGL specification states that zNear should not be greater than zFar when calling depthRange. Attached patch modifies GraphicsContext3DOpenGL to synthesize INVALID_VALUE as per spec.
Attachments
check for DepthRange (475 bytes, patch)
2011-09-06 01:04 PDT, Tapani Pälli
no flags
Tapani Pälli
Comment 1 2011-09-06 01:01:48 PDT
CC Chris for comments
Tapani Pälli
Comment 2 2011-09-06 01:04:16 PDT
Created attachment 106397 [details] check for DepthRange
Tapani Pälli
Comment 3 2011-09-06 01:15:24 PDT
sorry for the noise :/ now I see WebGLRenderingContext has the appropriate checks.
Eric Seidel (no email)
Comment 4 2011-09-06 15:45:51 PDT
Comment on attachment 106397 [details] check for DepthRange Cleared review? from attachment 106397 [details] so that this bug does not appear in http://webkit.org/pending-review. If you would like this patch reviewed, please attach it to a new bug (or re-open this bug before marking it for review again).
Note You need to log in before you can comment on or make changes to this bug.