Source code
Revision control
Copy as Markdown
Other Tools
/*
Copyright (c) 2019 The Khronos Group Inc.
Use of this source code is governed by an MIT-style license that can be
found in the LICENSE.txt file.
*/
attribute vec4 gtf_Vertex;
void main()
{
gtf_Vertex = vec4(1.0,2.0,3.0, 4.0); // cannot modify an attribute
}