893a011299
Introduce a helper to make it clearer if a resource can be considered for argument buffers or not.
13 lines
346 B
GLSL
13 lines
346 B
GLSL
#version 450
|
|
|
|
layout(set = 0, binding = 10, input_attachment_index = 1) uniform subpassInput uSub;
|
|
layout(location = 0) out vec4 FragColor;
|
|
|
|
layout(set = 0, binding = 9) uniform texture2D uTex;
|
|
layout(set = 0, binding = 8) uniform sampler uSampler;
|
|
|
|
void main()
|
|
{
|
|
FragColor = subpassLoad(uSub) + texture(sampler2D(uTex, uSampler), vec2(0.5));
|
|
}
|