; SPIR-V ; Version: 1.3 ; Generator: Google Tint Compiler; 0 ; Bound: 28 ; Schema: 0 OpCapability Shader OpMemoryModel Logical GLSL450 OpEntryPoint GLCompute %unused_entry_point "unused_entry_point" OpExecutionMode %unused_entry_point LocalSize 1 1 1 OpName %a "a" OpName %b "b" OpName %c "c" OpName %unused_entry_point "unused_entry_point" OpName %foo "foo" %int = OpTypeInt 32 1 %_ptr_Workgroup_int = OpTypePointer Workgroup %int %a = OpVariable %_ptr_Workgroup_int Workgroup %float = OpTypeFloat 32 %v4float = OpTypeVector %float 4 %_ptr_Workgroup_v4float = OpTypePointer Workgroup %v4float %b = OpVariable %_ptr_Workgroup_v4float Workgroup %v2float = OpTypeVector %float 2 %mat2v2float = OpTypeMatrix %v2float 2 %_ptr_Workgroup_mat2v2float = OpTypePointer Workgroup %mat2v2float %c = OpVariable %_ptr_Workgroup_mat2v2float Workgroup %void = OpTypeVoid %12 = OpTypeFunction %void %int_2 = OpConstant %int 2 %mat4v4float = OpTypeMatrix %v4float 4 %23 = OpConstantNull %mat4v4float %float_2 = OpConstant %float 2 %unused_entry_point = OpFunction %void None %12 %15 = OpLabel OpReturn OpFunctionEnd %foo = OpFunction %void None %12 %17 = OpLabel %18 = OpLoad %int %a %20 = OpSDiv %int %18 %int_2 OpStore %a %20 %21 = OpLoad %v4float %b %24 = OpVectorTimesMatrix %v4float %21 %23 OpStore %b %24 %25 = OpLoad %mat2v2float %c %27 = OpMatrixTimesScalar %mat2v2float %25 %float_2 OpStore %c %27 OpReturn OpFunctionEnd