Got something working. Need to test and verify I'm getting the data from the compute kernel

This commit is contained in:
2019-07-17 20:11:53 -07:00
parent 4d5b09e9ca
commit 26410b78a2
5 changed files with 32 additions and 12 deletions

View File

@@ -2,6 +2,7 @@
layout(location = 0) in vec2 tex_coords;
layout(location = 0) out vec4 f_color;
layout(set = 0, binding = 0) uniform sampler2D tex;
layout(set = 0, binding = 1, rgba8ui) readonly uniform uimage2D img;
void main() {
f_color = texture(tex, tex_coords);
}