move shaders to subfolder
This commit is contained in:
@@ -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);
|
||||
}
|
||||
Reference in New Issue
Block a user