SPIRV-Cross/reference/shaders/amd/fs.invalid.frag
2018-03-12 15:11:55 +01:00

16 lines
416 B
GLSL

#version 450
#extension GL_AMD_shader_fragment_mask : require
#extension GL_AMD_shader_explicit_vertex_parameter : require
layout(binding = 0) uniform sampler2DMS texture1;
layout(location = 0) __explicitInterpAMD in vec4 vary;
void main()
{
uint testi1 = fragmentMaskFetchAMD(texture1, ivec2(0));
vec4 test1 = fragmentFetchAMD(texture1, ivec2(1), 2u);
vec4 pos = interpolateAtVertexAMD(vary, 0u);
}