| ; SPIR-V |
| ; Version: 1.3 |
| ; Generator: Google Tint Compiler; 1 |
| ; Bound: 44 |
| ; Schema: 0 |
| OpCapability Shader |
| OpMemoryModel Logical GLSL450 |
| OpEntryPoint GLCompute %main "main" |
| OpExecutionMode %main LocalSize 1 1 1 |
| OpName %f "f" |
| OpName %a "a" |
| OpName %b "b" |
| OpName %c "c" |
| OpName %main "main" |
| %int = OpTypeInt 32 1 |
| %6 = OpTypeFunction %int %int %int %int |
| %uint = OpTypeInt 32 0 |
| %void = OpTypeVoid |
| %19 = OpTypeFunction %void |
| %int_1 = OpConstant %int 1 |
| %int_2 = OpConstant %int 2 |
| %int_3 = OpConstant %int 3 |
| %int_4 = OpConstant %int 4 |
| %int_5 = OpConstant %int 5 |
| %int_6 = OpConstant %int 6 |
| %int_8 = OpConstant %int 8 |
| %int_9 = OpConstant %int 9 |
| %int_10 = OpConstant %int 10 |
| %int_7 = OpConstant %int 7 |
| %int_11 = OpConstant %int 11 |
| %f = OpFunction %int None %6 |
| %a = OpFunctionParameter %int |
| %b = OpFunctionParameter %int |
| %c = OpFunctionParameter %int |
| %7 = OpLabel |
| %9 = OpBitcast %uint %a |
| %10 = OpBitcast %uint %b |
| %11 = OpIMul %uint %9 %10 |
| %12 = OpBitcast %int %11 |
| %13 = OpBitcast %uint %12 |
| %14 = OpBitcast %uint %c |
| %15 = OpIAdd %uint %13 %14 |
| %16 = OpBitcast %int %15 |
| OpReturnValue %16 |
| OpFunctionEnd |
| %main = OpFunction %void None %19 |
| %20 = OpLabel |
| %21 = OpFunctionCall %int %f %int_1 %int_2 %int_3 |
| %25 = OpFunctionCall %int %f %int_4 %int_5 %int_6 |
| %29 = OpFunctionCall %int %f %int_8 %int_9 %int_10 |
| %33 = OpFunctionCall %int %f %int_7 %29 %int_11 |
| %36 = OpBitcast %uint %25 |
| %37 = OpBitcast %uint %33 |
| %38 = OpIMul %uint %36 %37 |
| %39 = OpBitcast %int %38 |
| %40 = OpBitcast %uint %21 |
| %41 = OpBitcast %uint %39 |
| %42 = OpIAdd %uint %40 %41 |
| %43 = OpBitcast %int %42 |
| OpReturn |
| OpFunctionEnd |