mirror of
https://github.com/RPCS3/glslang.git
synced 2025-02-14 07:19:49 +00:00
![John Kessenich](/assets/img/avatar_default.png)
If this breaks your AST consumer, best is to modify it to test against the enum values instead of doing string comparisons on built-in function names. This is the reason the change was made. If you need the old behavior, you should be able to get it back by changing PureOperatorBuiltins to be false instead of true. This path will work for a while, but is marked deprecated. Also, the old behavior is tagged as release 2.4.
15 lines
180 B
GLSL
15 lines
180 B
GLSL
#version 130
|
|
|
|
uniform mat4 transform;
|
|
|
|
attribute vec4 position;
|
|
in vec2 uv_in;
|
|
|
|
out vec2 uv;
|
|
|
|
void main()
|
|
{
|
|
uv = uv_in;
|
|
gl_Position = transform * position;
|
|
}
|