Download third_party/SPIRV-Reflect/tests/variable_access/copy_array_0.glsl from kimjunhan/vkgs-sim: direct link, hf CLI and curl.
- Browser
- Download file 187 Bytes
-
https://huggingface.co/kimjunhan/vkgs-sim/resolve/main/third_party/SPIRV-Reflect/tests/variable_access/copy_array_0.glsl
- Command line
-
hf download hf://kimjunhan/vkgs-sim/third_party/SPIRV-Reflect/tests/variable_access/copy_array_0.glsl
-
curl -L -o copy_array_0.glsl https://huggingface.co/kimjunhan/vkgs-sim/resolve/main/third_party/SPIRV-Reflect/tests/variable_access/copy_array_0.glsl
187 Bytes
| layout(set = 0, binding = 0) buffer foo { | |
| uvec4 a; // not used | |
| uint b[4]; // used | |
| uint c; // not used | |
| }; | |
| void main() { | |
| uint d[4] = {4, 5, 6, 7}; | |
| b = d; | |
| } |