mirror of
https://github.com/RPCS3/glslang.git
synced 2024-11-27 21:20:30 +00:00
16 lines
234 B
GLSL
16 lines
234 B
GLSL
#version 440
|
|
|
|
layout(location = 0) in Primitive
|
|
{
|
|
vec2 texCoord;
|
|
} IN;
|
|
|
|
layout(location = 0) out vec4 oColor;
|
|
|
|
layout(binding = 0) uniform sampler2D mytex;
|
|
|
|
void main()
|
|
{
|
|
oColor = texture(mytex, IN.texCoord);
|
|
}
|