mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
15 lines
314 B
GLSL
15 lines
314 B
GLSL
|
#version 150
|
||
|
#extension GL_ARB_separate_shader_objects : enable
|
||
|
|
||
|
layout(location = 0) in vec4 position_in;
|
||
|
layout(location = 1) in vec4 colour_in;
|
||
|
|
||
|
layout(location = 0) out vec4 colour_out;
|
||
|
|
||
|
void main(void)
|
||
|
{
|
||
|
gl_Position.xzw = position_in.xzw;
|
||
|
gl_Position.y = -position_in.y;
|
||
|
colour_out = colour_in;
|
||
|
}
|