1
0
mirror of synced 2025-11-09 21:07:12 +00:00

descriptor layout

This commit is contained in:
Tom Gowan
2019-04-26 15:24:58 +10:00
parent 0755b4f807
commit f3346e48bb
6 changed files with 278 additions and 37 deletions

9
tests/shaders/frag3.glsl Normal file
View File

@@ -0,0 +1,9 @@
#version 450
layout(location = 0) out vec4 f_color;
layout(set = 0, binding = 0) uniform sampler2D tex;
void main() {
f_color = texture(tex, vec2(0.0, 0.5));
}