Skip to content

Shader compilation error: Missing #version directive in fragment shader #360

@EndlessJour9527

Description

@EndlessJour9527

webgl1
Shader(18) compilation error:
ERROR: 0:1: '' : #version required and missing.

============== shader source ==============
void main() {
gl_FragColor = vec4(0., 1., 0., 1.);
}

============================================
Case URL: https://github.com/M-CreativeLab/WebGL/tree/main/sdk/tests/conformance/attribs/gl-bindAttribLocation-repeated.html

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions