DescriptionConsistently generate INVALID_VALUE on NaN line width
GL drivers are allowed to generate errors when NaN is supplied to
functions under GLES 3.0 section 2.1.1 or OpenGL 4.5 section 2.3.4.1.
NVIDIA OpenGL driver generates an error when NaN is supplied to
glLineWidth. Make this behavior consistent for Chromium, which removes
the possibility of drawing with an undefined line width, and makes sure
that errors don't leak from the GL driver.
BUG=402847
TEST=WebGL conformance tests on debug build with virtual contexts,
gpu_unittests
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=289594
Patch Set 1 #
Messages
Total messages: 6 (0 generated)
|