SPIRV-Cross/shaders-msl-no-opt/frag/in_block_assign.frag
Hans-Kristian Arntzen e7bf8d2f48 Refactor out noopt shaders to their own folders.
Makes maintenance easier with less clutter.
2018-03-13 10:39:49 +01:00

17 lines
187 B
GLSL

#version 450
struct VOUT
{
vec4 a;
};
layout(location = 0) in VOUT Clip;
layout(location = 0) out vec4 FragColor;
void main()
{
VOUT tmp = Clip;
tmp.a += 1.0;
FragColor = tmp.a;
}