This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse the repository at this point in the history
[WebGL] Only require that the stencil value and write masks have as m…
…any bits set as the stencil buffer is deep https://bugs.webkit.org/show_bug.cgi?id=149174 Patch by Jinyoung Hur <firstname.lastname@example.org> on 2015-09-15 Reviewed by Dean Jackson. Copied the stencil mask related tests from the webgl/1.0.2/resources/webgl_test_files/conformance/state/gl-get-calls.html. It seems that there is a difference in the way that glGetIntegerV returns an unsigned int type value among OpenGL implementatios. Some return the whole bits of value(e.g., 0xffffffff -> 0xffffffff), whereas some(e.g., ANGLE) return a max-int-clamped value(e.g., 0xffffffff -> 0x7fffffff). It would be good to make this test independent on the OpenGL implementations. * fast/canvas/webgl/gl-get-calls-expected.txt: * fast/canvas/webgl/gl-get-calls.html: Canonical link: https://commits.webkit.org/167295@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@189838 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing 3 changed files with 30 additions and 8 deletions.