This reverts commit 32d4a67017 thus fixing T81002 again.
And in order not to break T81212 (again) a different fix was implemented.
Reviewed By: brecht
Differential Revision: https://developer.blender.org/D15840
15 lines
341 B
GLSL
15 lines
341 B
GLSL
#ifndef USE_GPU_SHADER_CREATE_INFO
|
|
uniform mat4 ModelViewProjectionMatrix;
|
|
|
|
/* Keep in sync with intern/opencolorio/gpu_shader_display_transform_vertex.glsl */
|
|
in vec2 texCoord;
|
|
in vec2 pos;
|
|
out vec2 texCoord_interp;
|
|
#endif
|
|
|
|
void main()
|
|
{
|
|
gl_Position = ModelViewProjectionMatrix * vec4(pos.xy, 0.0f, 1.0f);
|
|
texCoord_interp = texCoord;
|
|
}
|