mirror of
https://github.com/libretro/RetroArch
synced 2025-02-03 08:54:13 +00:00
5af5222249
- https://github.com/KhronosGroup/SPIRV-Cross/commit/ 66a407285e36a0f772e3209cb86ded6e3d900f6a
13 lines
356 B
GLSL
13 lines
356 B
GLSL
#version 450
|
|
|
|
layout(binding = 0) uniform sampler2DMS uSubpass0;
|
|
layout(binding = 1) uniform sampler2DMS uSubpass1;
|
|
|
|
layout(location = 0) out vec4 FragColor;
|
|
|
|
void main()
|
|
{
|
|
FragColor = (texelFetch(uSubpass0, ivec2(gl_FragCoord.xy), 1) + texelFetch(uSubpass1, ivec2(gl_FragCoord.xy), 2)) + texelFetch(uSubpass0, ivec2(gl_FragCoord.xy), gl_SampleID);
|
|
}
|
|
|