| ; SPIR-V | |
| ; Version: 1.3 | |
| ; Generator: Google Tint Compiler; 0 | |
| ; Bound: 92 | |
| ; Schema: 0 | |
| OpCapability Shader | |
| OpMemoryModel Logical GLSL450 | |
| OpEntryPoint Fragment %main "main" %value | |
| OpExecutionMode %main OriginUpperLeft | |
| OpName %value "value" | |
| OpName %ret_i32 "ret_i32" | |
| OpName %ret_u32 "ret_u32" | |
| OpName %ret_f32 "ret_f32" | |
| OpName %MyStruct "MyStruct" | |
| OpMemberName %MyStruct 0 "f1" | |
| OpName %ret_MyStruct "ret_MyStruct" | |
| OpName %ret_MyArray "ret_MyArray" | |
| OpName %var_decls "var_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 %value 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 | |
| %5 = OpConstantNull %v4float | |
| %value = OpVariable %_ptr_Output_v4float Output %5 | |
| %int = OpTypeInt 32 1 | |
| %6 = OpTypeFunction %int | |
| %int_1 = OpConstant %int 1 | |
| %uint = OpTypeInt 32 0 | |
| %11 = OpTypeFunction %uint | |
| %uint_1 = OpConstant %uint 1 | |
| %16 = OpTypeFunction %float | |
| %float_1 = OpConstant %float 1 | |
| %MyStruct = OpTypeStruct %float | |
| %20 = OpTypeFunction %MyStruct | |
| %24 = OpConstantNull %MyStruct | |
| %uint_10 = OpConstant %uint 10 | |
| %_arr_float_uint_10 = OpTypeArray %float %uint_10 | |
| %25 = OpTypeFunction %_arr_float_uint_10 | |
| %30 = OpConstantNull %_arr_float_uint_10 | |
| %void = OpTypeVoid | |
| %31 = OpTypeFunction %void | |
| %_ptr_Function_int = OpTypePointer Function %int | |
| %37 = OpConstantNull %int | |
| %_ptr_Function_uint = OpTypePointer Function %uint | |
| %40 = OpConstantNull %uint | |
| %_ptr_Function_float = OpTypePointer Function %float | |
| %43 = OpConstantNull %float | |
| %v3int = OpTypeVector %int 3 | |
| %45 = OpConstantComposite %v3int %int_1 %int_1 %int_1 | |
| %_ptr_Function_v3int = OpTypePointer Function %v3int | |
| %48 = OpConstantNull %v3int | |
| %v3uint = OpTypeVector %uint 3 | |
| %50 = OpConstantComposite %v3uint %uint_1 %uint_1 %uint_1 | |
| %_ptr_Function_v3uint = OpTypePointer Function %v3uint | |
| %53 = OpConstantNull %v3uint | |
| %v3float = OpTypeVector %float 3 | |
| %55 = OpConstantComposite %v3float %float_1 %float_1 %float_1 | |
| %_ptr_Function_v3float = OpTypePointer Function %v3float | |
| %58 = OpConstantNull %v3float | |
| %mat3v3float = OpTypeMatrix %v3float 3 | |
| %_ptr_Function_mat3v3float = OpTypePointer Function %mat3v3float | |
| %66 = OpConstantNull %mat3v3float | |
| %67 = OpConstantComposite %MyStruct %float_1 | |
| %_ptr_Function_MyStruct = OpTypePointer Function %MyStruct | |
| %_ptr_Function__arr_float_uint_10 = OpTypePointer Function %_arr_float_uint_10 | |
| %84 = OpTypeFunction %v4float | |
| %float_0 = OpConstant %float 0 | |
| %88 = OpConstantComposite %v4float %float_0 %float_0 %float_0 %float_0 | |
| %ret_i32 = OpFunction %int None %6 | |
| %9 = OpLabel | |
| OpReturnValue %int_1 | |
| OpFunctionEnd | |
| %ret_u32 = OpFunction %uint None %11 | |
| %14 = OpLabel | |
| OpReturnValue %uint_1 | |
| OpFunctionEnd | |
| %ret_f32 = OpFunction %float None %16 | |
| %18 = OpLabel | |
| OpReturnValue %float_1 | |
| OpFunctionEnd | |
| %ret_MyStruct = OpFunction %MyStruct None %20 | |
| %23 = OpLabel | |
| OpReturnValue %24 | |
| OpFunctionEnd | |
| %ret_MyArray = OpFunction %_arr_float_uint_10 None %25 | |
| %29 = OpLabel | |
| OpReturnValue %30 | |
| OpFunctionEnd | |
| %var_decls = OpFunction %void None %31 | |
| %34 = OpLabel | |
| %v1 = OpVariable %_ptr_Function_int Function %37 | |
| %v2 = OpVariable %_ptr_Function_uint Function %40 | |
| %v3 = OpVariable %_ptr_Function_float Function %43 | |
| %v4 = OpVariable %_ptr_Function_v3int Function %48 | |
| %v5 = OpVariable %_ptr_Function_v3uint Function %53 | |
| %v6 = OpVariable %_ptr_Function_v3float Function %58 | |
| %v7 = OpVariable %_ptr_Function_mat3v3float Function %66 | |
| %v8 = OpVariable %_ptr_Function_MyStruct Function %24 | |
| %v9 = OpVariable %_ptr_Function__arr_float_uint_10 Function %30 | |
| %v10 = OpVariable %_ptr_Function_int Function %37 | |
| %v11 = OpVariable %_ptr_Function_uint Function %40 | |
| %v12 = OpVariable %_ptr_Function_float Function %43 | |
| %v13 = OpVariable %_ptr_Function_MyStruct Function %24 | |
| %v14 = OpVariable %_ptr_Function_MyStruct Function %24 | |
| %v15 = OpVariable %_ptr_Function__arr_float_uint_10 Function %30 | |
| OpStore %v1 %int_1 | |
| OpStore %v2 %uint_1 | |
| OpStore %v3 %float_1 | |
| OpStore %v4 %45 | |
| OpStore %v5 %50 | |
| OpStore %v6 %55 | |
| %60 = OpLoad %v3float %v6 | |
| %61 = OpLoad %v3float %v6 | |
| %62 = OpLoad %v3float %v6 | |
| %63 = OpCompositeConstruct %mat3v3float %60 %61 %62 | |
| OpStore %v7 %63 | |
| OpStore %v8 %67 | |
| OpStore %v9 %30 | |
| %72 = OpFunctionCall %int %ret_i32 | |
| OpStore %v10 %72 | |
| %74 = OpFunctionCall %uint %ret_u32 | |
| OpStore %v11 %74 | |
| %76 = OpFunctionCall %float %ret_f32 | |
| OpStore %v12 %76 | |
| %78 = OpFunctionCall %MyStruct %ret_MyStruct | |
| OpStore %v13 %78 | |
| %80 = OpFunctionCall %MyStruct %ret_MyStruct | |
| OpStore %v14 %80 | |
| %82 = OpFunctionCall %_arr_float_uint_10 %ret_MyArray | |
| OpStore %v15 %82 | |
| OpReturn | |
| OpFunctionEnd | |
| %main_inner = OpFunction %v4float None %84 | |
| %86 = OpLabel | |
| OpReturnValue %88 | |
| OpFunctionEnd | |
| %main = OpFunction %void None %31 | |
| %90 = OpLabel | |
| %91 = OpFunctionCall %v4float %main_inner | |
| OpStore %value %91 | |
| OpReturn | |
| OpFunctionEnd |