2016-07-11 10:47:46 +00:00
|
|
|
#version 450
|
|
|
|
|
|
|
|
layout(binding = 0) uniform sampler2DMS uSampler;
|
|
|
|
layout(binding = 1) uniform sampler2DMSArray uSamplerArray;
|
|
|
|
layout(binding = 2, rgba8) uniform readonly writeonly image2DMS uImage;
|
|
|
|
layout(binding = 3, rgba8) uniform readonly writeonly image2DMSArray uImageArray;
|
|
|
|
|
|
|
|
layout(location = 0) out vec4 FragColor;
|
|
|
|
|
|
|
|
void main()
|
|
|
|
{
|
2016-12-05 09:22:54 +00:00
|
|
|
FragColor = vec4(float(((textureSamples(uSampler) + textureSamples(uSamplerArray)) + imageSamples(uImage)) + imageSamples(uImageArray)));
|
2016-07-11 10:47:46 +00:00
|
|
|
}
|
|
|
|
|