| ; SPIR-V | |
| ; Version: 1.3 | |
| ; Generator: Google Tint Compiler; 1 | |
| ; Bound: 56 | |
| ; Schema: 0 | |
| OpCapability Shader | |
| OpMemoryModel Logical GLSL450 | |
| OpEntryPoint Fragment %main "main" %main_loc0_Output | |
| OpExecutionMode %main OriginUpperLeft | |
| OpName %main_loc0_Output "main_loc0_Output" | |
| OpName %ret_i32 "ret_i32" | |
| OpName %ret_u32 "ret_u32" | |
| OpName %ret_f32 "ret_f32" | |
| OpName %ret_MyStruct "ret_MyStruct" | |
| OpMemberName %MyStruct 0 "f1" | |
| OpName %MyStruct "MyStruct" | |
| OpName %ret_MyArray "ret_MyArray" | |
| OpName %let_decls "let_decls" | |
| OpName %v1 "v1" | |
| OpName %v2 "v2" | |
| OpName %v3 "v3" | |
| OpName %v4 "v4" | |
| OpName %v5 "v5" | |
| OpName %v6 "v6" | |
| OpName %v7 "v7" | |
| OpName %v8 "v8" | |
| OpName %v9 "v9" | |
| OpName %v10 "v10" | |
| OpName %v11 "v11" | |
| OpName %v12 "v12" | |
| OpName %v13 "v13" | |
| OpName %v14 "v14" | |
| OpName %v15 "v15" | |
| OpName %main_inner "main_inner" | |
| OpName %main "main" | |
| OpDecorate %main_loc0_Output Location 0 | |
| OpMemberDecorate %MyStruct 0 Offset 0 | |
| OpDecorate %_arr_float_uint_10 ArrayStride 4 | |
| %float = OpTypeFloat 32 | |
| %v4float = OpTypeVector %float 4 | |
| %_ptr_Output_v4float = OpTypePointer Output %v4float | |
| %main_loc0_Output = OpVariable %_ptr_Output_v4float Output | |
| %int = OpTypeInt 32 1 | |
| %7 = OpTypeFunction %int | |
| %v1 = OpConstant %int 1 | |
| %uint = OpTypeInt 32 0 | |
| %12 = OpTypeFunction %uint | |
| %v2 = OpConstant %uint 1 | |
| %16 = OpTypeFunction %float | |
| %v3 = OpConstant %float 1 | |
| %MyStruct = OpTypeStruct %float | |
| %21 = OpTypeFunction %MyStruct | |
| %23 = OpConstantNull %MyStruct | |
| %uint_10 = OpConstant %uint 10 | |
| %_arr_float_uint_10 = OpTypeArray %float %uint_10 | |
| %27 = OpTypeFunction %_arr_float_uint_10 | |
| %v9 = OpConstantNull %_arr_float_uint_10 | |
| %void = OpTypeVoid | |
| %32 = OpTypeFunction %void | |
| %v3int = OpTypeVector %int 3 | |
| %v4 = OpConstantComposite %v3int %v1 %v1 %v1 | |
| %v3uint = OpTypeVector %uint 3 | |
| %v5 = OpConstantComposite %v3uint %v2 %v2 %v2 | |
| %v3float = OpTypeVector %float 3 | |
| %v6 = OpConstantComposite %v3float %v3 %v3 %v3 | |
| %mat3v3float = OpTypeMatrix %v3float 3 | |
| %v8 = OpConstantComposite %MyStruct %v3 | |
| %50 = OpTypeFunction %v4float | |
| %52 = OpConstantNull %v4float | |
| %ret_i32 = OpFunction %int None %7 | |
| %8 = OpLabel | |
| OpReturnValue %v1 | |
| OpFunctionEnd | |
| %ret_u32 = OpFunction %uint None %12 | |
| %13 = OpLabel | |
| OpReturnValue %v2 | |
| OpFunctionEnd | |
| %ret_f32 = OpFunction %float None %16 | |
| %17 = OpLabel | |
| OpReturnValue %v3 | |
| OpFunctionEnd | |
| %ret_MyStruct = OpFunction %MyStruct None %21 | |
| %22 = OpLabel | |
| OpReturnValue %23 | |
| OpFunctionEnd | |
| %ret_MyArray = OpFunction %_arr_float_uint_10 None %27 | |
| %28 = OpLabel | |
| OpReturnValue %v9 | |
| OpFunctionEnd | |
| %let_decls = OpFunction %void None %32 | |
| %33 = OpLabel | |
| %v7 = OpCompositeConstruct %mat3v3float %v6 %v6 %v6 | |
| %v10 = OpFunctionCall %int %ret_i32 | |
| %v11 = OpFunctionCall %uint %ret_u32 | |
| %v12 = OpFunctionCall %float %ret_f32 | |
| %v13 = OpFunctionCall %MyStruct %ret_MyStruct | |
| %v14 = OpFunctionCall %MyStruct %ret_MyStruct | |
| %v15 = OpFunctionCall %_arr_float_uint_10 %ret_MyArray | |
| OpReturn | |
| OpFunctionEnd | |
| %main_inner = OpFunction %v4float None %50 | |
| %51 = OpLabel | |
| OpReturnValue %52 | |
| OpFunctionEnd | |
| %main = OpFunction %void None %32 | |
| %54 = OpLabel | |
| %55 = OpFunctionCall %v4float %main_inner | |
| OpStore %main_loc0_Output %55 None | |
| OpReturn | |
| OpFunctionEnd |