| ; SPIR-V | |
| ; Version: 1.3 | |
| ; Generator: Google Tint Compiler; 0 | |
| ; Bound: 71 | |
| ; Schema: 0 | |
| OpCapability Shader | |
| OpMemoryModel Logical GLSL450 | |
| OpEntryPoint GLCompute %main "main" | |
| OpExecutionMode %main LocalSize 1 1 1 | |
| OpName %constant_with_non_constant "constant_with_non_constant" | |
| OpName %a "a" | |
| OpName %b "b" | |
| OpName %main "main" | |
| OpName %bool_var1 "bool_var1" | |
| OpName %bool_var2 "bool_var2" | |
| OpName %bool_var3 "bool_var3" | |
| OpName %i32_var1 "i32_var1" | |
| OpName %i32_var2 "i32_var2" | |
| OpName %i32_var3 "i32_var3" | |
| OpName %u32_var1 "u32_var1" | |
| OpName %u32_var2 "u32_var2" | |
| OpName %u32_var3 "u32_var3" | |
| OpName %v3bool_var1 "v3bool_var1" | |
| OpName %v3bool_var11 "v3bool_var11" | |
| OpName %v3bool_var2 "v3bool_var2" | |
| OpName %v3bool_var3 "v3bool_var3" | |
| OpName %v3i32_var1 "v3i32_var1" | |
| OpName %v3i32_var2 "v3i32_var2" | |
| OpName %v3i32_var3 "v3i32_var3" | |
| OpName %v3u32_var1 "v3u32_var1" | |
| OpName %v3u32_var2 "v3u32_var2" | |
| OpName %v3u32_var3 "v3u32_var3" | |
| OpName %v3bool_var4 "v3bool_var4" | |
| OpName %v4bool_var5 "v4bool_var5" | |
| %void = OpTypeVoid | |
| %1 = OpTypeFunction %void | |
| %float = OpTypeFloat 32 | |
| %6 = OpConstantNull %float | |
| %_ptr_Function_float = OpTypePointer Function %float | |
| %v2float = OpTypeVector %float 2 | |
| %float_1 = OpConstant %float 1 | |
| %_ptr_Function_v2float = OpTypePointer Function %v2float | |
| %15 = OpConstantNull %v2float | |
| %bool = OpTypeBool | |
| %true = OpConstantTrue %bool | |
| %_ptr_Function_bool = OpTypePointer Function %bool | |
| %22 = OpConstantNull %bool | |
| %int = OpTypeInt 32 1 | |
| %int_123 = OpConstant %int 123 | |
| %_ptr_Function_int = OpTypePointer Function %int | |
| %29 = OpConstantNull %int | |
| %int_1 = OpConstant %int 1 | |
| %uint = OpTypeInt 32 0 | |
| %uint_123 = OpConstant %uint 123 | |
| %_ptr_Function_uint = OpTypePointer Function %uint | |
| %37 = OpConstantNull %uint | |
| %uint_1 = OpConstant %uint 1 | |
| %v3bool = OpTypeVector %bool 3 | |
| %42 = OpConstantComposite %v3bool %true %true %true | |
| %_ptr_Function_v3bool = OpTypePointer Function %v3bool | |
| %45 = OpConstantNull %v3bool | |
| %v3int = OpTypeVector %int 3 | |
| %50 = OpConstantComposite %v3int %int_123 %int_123 %int_123 | |
| %_ptr_Function_v3int = OpTypePointer Function %v3int | |
| %53 = OpConstantNull %v3int | |
| %55 = OpConstantComposite %v3int %int_1 %int_1 %int_1 | |
| %v3uint = OpTypeVector %uint 3 | |
| %58 = OpConstantComposite %v3uint %uint_123 %uint_123 %uint_123 | |
| %_ptr_Function_v3uint = OpTypePointer Function %v3uint | |
| %61 = OpConstantNull %v3uint | |
| %63 = OpConstantComposite %v3uint %uint_1 %uint_1 %uint_1 | |
| %v4bool = OpTypeVector %bool 4 | |
| %67 = OpConstantComposite %v4bool %true %22 %true %22 | |
| %_ptr_Function_v4bool = OpTypePointer Function %v4bool | |
| %70 = OpConstantNull %v4bool | |
| %constant_with_non_constant = OpFunction %void None %1 | |
| %4 = OpLabel | |
| %a = OpVariable %_ptr_Function_float Function %6 | |
| %b = OpVariable %_ptr_Function_v2float Function %15 | |
| OpStore %a %6 | |
| %11 = OpLoad %float %a | |
| %12 = OpCompositeConstruct %v2float %float_1 %11 | |
| OpStore %b %12 | |
| OpReturn | |
| OpFunctionEnd | |
| %main = OpFunction %void None %1 | |
| %17 = OpLabel | |
| %bool_var1 = OpVariable %_ptr_Function_bool Function %22 | |
| %bool_var2 = OpVariable %_ptr_Function_bool Function %22 | |
| %bool_var3 = OpVariable %_ptr_Function_bool Function %22 | |
| %i32_var1 = OpVariable %_ptr_Function_int Function %29 | |
| %i32_var2 = OpVariable %_ptr_Function_int Function %29 | |
| %i32_var3 = OpVariable %_ptr_Function_int Function %29 | |
| %u32_var1 = OpVariable %_ptr_Function_uint Function %37 | |
| %u32_var2 = OpVariable %_ptr_Function_uint Function %37 | |
| %u32_var3 = OpVariable %_ptr_Function_uint Function %37 | |
| %v3bool_var1 = OpVariable %_ptr_Function_v3bool Function %45 | |
| %v3bool_var11 = OpVariable %_ptr_Function_v3bool Function %45 | |
| %v3bool_var2 = OpVariable %_ptr_Function_v3bool Function %45 | |
| %v3bool_var3 = OpVariable %_ptr_Function_v3bool Function %45 | |
| %v3i32_var1 = OpVariable %_ptr_Function_v3int Function %53 | |
| %v3i32_var2 = OpVariable %_ptr_Function_v3int Function %53 | |
| %v3i32_var3 = OpVariable %_ptr_Function_v3int Function %53 | |
| %v3u32_var1 = OpVariable %_ptr_Function_v3uint Function %61 | |
| %v3u32_var2 = OpVariable %_ptr_Function_v3uint Function %61 | |
| %v3u32_var3 = OpVariable %_ptr_Function_v3uint Function %61 | |
| %v3bool_var4 = OpVariable %_ptr_Function_v3bool Function %45 | |
| %v4bool_var5 = OpVariable %_ptr_Function_v4bool Function %70 | |
| OpStore %bool_var1 %true | |
| OpStore %bool_var2 %true | |
| OpStore %bool_var3 %true | |
| OpStore %i32_var1 %int_123 | |
| OpStore %i32_var2 %int_123 | |
| OpStore %i32_var3 %int_1 | |
| OpStore %u32_var1 %uint_123 | |
| OpStore %u32_var2 %uint_123 | |
| OpStore %u32_var3 %uint_1 | |
| OpStore %v3bool_var1 %42 | |
| OpStore %v3bool_var11 %42 | |
| OpStore %v3bool_var2 %42 | |
| OpStore %v3bool_var3 %42 | |
| OpStore %v3i32_var1 %50 | |
| OpStore %v3i32_var2 %50 | |
| OpStore %v3i32_var3 %55 | |
| OpStore %v3u32_var1 %58 | |
| OpStore %v3u32_var2 %58 | |
| OpStore %v3u32_var3 %63 | |
| OpStore %v3bool_var4 %42 | |
| OpStore %v4bool_var5 %67 | |
| OpReturn | |
| OpFunctionEnd |