third_party/spirv-cross/shaders-msl/comp/image-cube-array-load-store.comp
raw| 1 | #version 450 |
| 2 | layout(local_size_x = 1) in; |
| 3 | |
| 4 | layout(r32f, binding = 0) uniform readonly imageCubeArray uImageIn; |
| 5 | layout(r32f, binding = 1) uniform writeonly imageCubeArray uImageOut; |
| 6 | |
| 7 | void main() |
| 8 | { |
| 9 | ivec3 coord = ivec3(9, 7, 11); |
| 10 | vec4 indata = imageLoad(uImageIn, coord); |
| 11 | imageStore(uImageOut, coord, indata); |
| 12 | } |
| 13 |