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
|
|
|
|
|
2018-03-12 13:58:40 +00:00
|
|
|
layout(binding = 0) uniform sampler2DMS texture1;
|
2017-11-23 08:57:30 +00:00
|
|
|
|
2018-03-12 13:58:40 +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);
|
|
|
|
}
|
|
|
|
|