This reverts commit edee5a947b.
Fixes compilation error (Missing file BLI_float2.hh)
17 lines
241 B
GLSL
17 lines
241 B
GLSL
|
|
#ifndef USE_GPU_SHADER_CREATE_INFO
|
|
uniform mat4 ModelViewProjectionMatrix;
|
|
|
|
# ifdef UV_POS
|
|
in vec2 u;
|
|
# define pos u
|
|
# else
|
|
in vec2 pos;
|
|
# endif
|
|
#endif
|
|
|
|
void main()
|
|
{
|
|
gl_Position = ModelViewProjectionMatrix * vec4(pos, 0.0, 1.0);
|
|
}
|