Download third_party/SPIRV-Reflect/tests/variable_access/copy_struct_0.glsl from kimjunhan/vkgs-sim: direct link, hf CLI and curl.
- Browser
- Download file 275 Bytes
-
https://huggingface.co/kimjunhan/vkgs-sim/resolve/main/third_party/SPIRV-Reflect/tests/variable_access/copy_struct_0.glsl
- Command line
-
hf download hf://kimjunhan/vkgs-sim/third_party/SPIRV-Reflect/tests/variable_access/copy_struct_0.glsl
-
curl -L -o copy_struct_0.glsl https://huggingface.co/kimjunhan/vkgs-sim/resolve/main/third_party/SPIRV-Reflect/tests/variable_access/copy_struct_0.glsl
275 Bytes
| struct Bar { | |
| uint x; | |
| uint y; | |
| uint z[2]; | |
| }; | |
| layout(set = 0, binding = 0, std430) buffer foo1 { | |
| uvec4 a; | |
| Bar b; | |
| uint c; | |
| }; | |
| layout(set = 0, binding = 1, std430) buffer foo2 { | |
| uvec4 d; | |
| Bar e; | |
| uint f; | |
| }; | |
| void main() { | |
| b = e; | |
| } |