bgfx/3rdparty/spirv-cross/shaders-msl/comp/force-recompile-hooks.swizzle.comp
Бранимир Караџић 38f97c28cf Updated spirv-cross.
2019-01-18 17:21:49 -08:00

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);
}