blob: 7523af4d87f0e6e58ac24b53bb4807a8d6836327 [file] [log] [blame]
WebGL tests for Canvas.requestShaderSource command.
== Running test suite: Canvas.requestShaderSource.WebGL
-- Running test case: Canvas.requestShaderSource.WebGL.Vertex
void main(void) {
gl_Position = vec4(0.0, 0.0, 0.0, 1.0);
}
-- Running test case: Canvas.requestShaderSource.WebGL.Fragment
precision mediump float;
void main(void) {
gl_FragColor = vec4(1.0, 1.0, 1.0, 1.0);
}
-- Running test case: Canvas.requestShaderSource.WebGL.ShaderType.Invalid
PASS: Should produce an error.
Error: Unknown shaderType: INVALID_SHADER_TYPE