move shaders to subfolder

This commit is contained in:
Piotrek
2021-04-13 09:31:15 +02:00
parent c2953a1443
commit 9aafeb80c2
6 changed files with 6 additions and 6 deletions
+13
View File
@@ -0,0 +1,13 @@
// shader.frag
#version 450
layout(location=0) in vec2 vert_uv;
layout(location=0) out vec4 frag_color;
layout(set=0, binding=0) uniform texture2D tex;
layout(set=0, binding=1) uniform sampler tex_smp;
void main()
{
frag_color = texture(sampler2D(tex, tex_smp), vert_uv);
}