dan sinclair | 1b77b6c | 2024-08-06 15:47:05 +0000 | [diff] [blame] | 1 | ; SPIR-V |
| 2 | ; Version: 1.3 |
| 3 | ; Generator: Google Tint Compiler; 1 |
| 4 | ; Bound: 12 |
| 5 | ; Schema: 0 |
| 6 | OpCapability Shader |
| 7 | OpMemoryModel Logical GLSL450 |
| 8 | OpEntryPoint GLCompute %main "main" |
| 9 | OpExecutionMode %main LocalSize 1 1 1 |
| 10 | OpName %main "main" |
| 11 | OpMemberName %S 0 "a" |
| 12 | OpMemberName %S 1 "b" |
| 13 | OpName %S "S" |
| 14 | OpName %v "v" |
| 15 | OpMemberDecorate %S 0 Offset 0 |
| 16 | OpMemberDecorate %S 1 Offset 4 |
| 17 | %void = OpTypeVoid |
| 18 | %3 = OpTypeFunction %void |
| 19 | %int = OpTypeInt 32 1 |
| 20 | %float = OpTypeFloat 32 |
| 21 | %S = OpTypeStruct %int %float |
| 22 | %_ptr_Function_S = OpTypePointer Function %S |
| 23 | %10 = OpConstantNull %S |
| 24 | %main = OpFunction %void None %3 |
| 25 | %4 = OpLabel |
| 26 | %v = OpVariable %_ptr_Function_S Function %10 |
| 27 | %11 = OpLoad %S %v |
| 28 | OpReturn |
| 29 | OpFunctionEnd |