2022-11-19 21:44:41 +08:00
|
|
|
#version 450
|
|
|
|
#extension GL_ARB_separate_shader_objects : enable
|
|
|
|
#extension GL_ARB_shading_language_420pack : enable
|
|
|
|
#extension GL_EXT_nonuniform_qualifier : require
|
|
|
|
|
2023-03-04 01:01:26 +08:00
|
|
|
layout (input_attachment_index = 0, set = 0, binding = 0) uniform subpassInput sceneTexture;
|
2022-11-19 21:44:41 +08:00
|
|
|
|
|
|
|
|
|
|
|
layout(location = 0) out vec4 fragColor;
|
|
|
|
|
|
|
|
void main()
|
|
|
|
{
|
2022-11-22 09:05:56 +08:00
|
|
|
fragColor = vec4 (subpassLoad(sceneTexture).rgb, 1.0f);
|
2022-11-19 21:44:41 +08:00
|
|
|
}
|