blob: 39aa83ccfa2b105f9697048430224aad3d622bc1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#version 450
#extension GL_ARB_separate_shader_objects : enable
layout(location = 0) in vec3 in_frag_color;
layout(location = 1) in vec2 in_frag_texture_coord;
layout(location = 0) out vec4 out_color;
layout(set = 0, binding = 1) uniform sampler2D texture_sampler;
void main()
{
out_color = texture(texture_sampler, in_frag_texture_coord);
}
|