Got something working. Need to test and verify I'm getting the data from the compute kernel
This commit is contained in:
@@ -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);
|
||||
}
|
||||
Reference in New Issue
Block a user