SPIRV-Cross/reference/shaders-no-opt/frag/fs.invalid.frag

16 lines
416 B
GLSL
Raw Normal View History

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