SPIRV-Cross/shaders-msl-no-opt/vert/layer.msl11.invalid.vert
2019-11-06 10:40:37 +01:00

11 lines
171 B
GLSL

#version 450
#extension GL_ARB_shader_viewport_layer_array : require
layout(location = 0) in vec4 coord;
void main()
{
gl_Position = coord;
gl_Layer = int(coord.z);
}