f500d2f70c
Otherwise, in the event of a forced recompile, we could end up adding them twice.
10 lines
192 B
Plaintext
10 lines
192 B
Plaintext
#version 450
|
|
|
|
layout(binding = 0) uniform sampler2D foo;
|
|
layout(binding = 1, rgba8) uniform image2D bar;
|
|
|
|
void main() {
|
|
vec4 a = texture(foo, vec2(1, 1));
|
|
imageStore(bar, ivec2(0, 0), a);
|
|
}
|