DescriptionCheck for shader version mismatch
Shading language version is queried from ANGLE when a shader is
translated and stored on the Shader object. When linking shader programs,
it is checked whether the version numbers of the shaders match, and if
they don't match, linking will fail. This is specified in OpenGL ES
Shading Language 3.00 spec sections 1.5 and 3.3.
Fixes WebGL 2 conformance test:
https://www.khronos.org/registry/webgl/sdk/tests/conformance2/glsl3/shader-linking.html
BUG=485060
TEST=WebGL conformance tests, gpu_unittests
Committed: https://crrev.com/e6bdcf3bd8efc99152a68b37d313867f28a187c2
Cr-Commit-Position: refs/heads/master@{#328776}
Patch Set 1 #
Total comments: 4
Messages
Total messages: 10 (2 generated)
|