SPIRV-Cross/shaders-msl/frag/texture-multisample-array.msl21.frag
2018-09-03 11:02:31 +02:00

11 lines
263 B
GLSL

#version 450
layout(location = 0) out vec4 FragColor;
layout(binding = 0) uniform sampler2DMSArray uTexture;
layout(location = 0) flat in ivec3 vCoord;
layout(location = 1) flat in int vSample;
void main()
{
FragColor = texelFetch(uTexture, vCoord, vSample);
}