SPIRV-Cross/shaders-hlsl/frag/io-block.frag
2017-03-21 13:48:50 +01:00

17 lines
223 B
GLSL

#version 310 es
#extension GL_EXT_shader_io_blocks : require
precision mediump float;
layout(location = 1) in VertexOut
{
vec4 a;
vec4 b;
};
layout(location = 0) out vec4 FragColor;
void main()
{
FragColor = a + b;
}