const vec4 someConst = vec4(3.0);
export void vertex() {
gl_Position = vec4(0.0);
}
export void colorFragment() {
gl_FragColor = vec4(0.0);
}
{
"shaders": [
{
"name": "vertex",
"contents": "const vec4 a=vec4(3.);void main(){gl_Position=vec4(0.);}"
},
{
"name": "colorFragment",
"contents": "const vec4 a=vec4(3.);void main(){gl_FragColor=vec4(0.);}"
}
],
"renaming": {}
}
{
"shaders": [
{
"name": "vertex",
"contents": "void main(){gl_Position=vec4(0.);}"
},
{
"name": "colorFragment",
"contents": "void main(){gl_FragColor=vec4(0.);}"
}
],
"renaming": {}
}