; SPIR-V | |
; Version: 1.3 | |
; Generator: Google Tint Compiler; 0 | |
; Bound: 18 | |
; 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 | |
%1 = OpTypeFunction %int %int %int %int | |
%void = OpTypeVoid | |
%10 = OpTypeFunction %void | |
%int_1 = OpConstant %int 1 | |
%int_2 = OpConstant %int 2 | |
%int_3 = OpConstant %int 3 | |
%f = OpFunction %int None %1 | |
%a = OpFunctionParameter %int | |
%b = OpFunctionParameter %int | |
%c = OpFunctionParameter %int | |
%7 = OpLabel | |
%8 = OpIMul %int %a %b | |
%9 = OpIAdd %int %8 %c | |
OpReturnValue %9 | |
OpFunctionEnd | |
%main = OpFunction %void None %10 | |
%13 = OpLabel | |
%14 = OpFunctionCall %int %f %int_1 %int_2 %int_3 | |
OpReturn | |
OpFunctionEnd |