blob: 662e895cfcf2ce81dd32307a8a34264b1b232f60 [file] [log] [blame]
; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 0
; Bound: 27
; Schema: 0
OpCapability Shader
OpMemoryModel Logical GLSL450
OpEntryPoint GLCompute %main "main"
OpExecutionMode %main LocalSize 1 1 1
OpName %main_1 "main_1"
OpName %S_1 "S_1"
OpMemberName %S_1 0 "field0"
OpMemberName %S_1 1 "field1"
OpName %x_37 "x_37"
OpName %x_2_1 "x_2_1"
OpName %main "main"
OpMemberDecorate %S_1 0 Offset 0
OpMemberDecorate %S_1 1 Offset 8
OpMemberDecorate %S_1 1 ColMajor
OpMemberDecorate %S_1 1 MatrixStride 8
OpDecorate %_arr_mat3v2float_uint_3 ArrayStride 24
%void = OpTypeVoid
%1 = OpTypeFunction %void
%uint = OpTypeInt 32 0
%float = OpTypeFloat 32
%v2float = OpTypeVector %float 2
%mat3v2float = OpTypeMatrix %v2float 3
%uint_3 = OpConstant %uint 3
%_arr_mat3v2float_uint_3 = OpTypeArray %mat3v2float %uint_3
%S_1 = OpTypeStruct %uint %_arr_mat3v2float_uint_3
%_ptr_Function_S_1 = OpTypePointer Function %S_1
%14 = OpConstantNull %S_1
%uint_1 = OpConstant %uint 1
%uint_2 = OpConstant %uint 2
%uint_0 = OpConstant %uint 0
%_ptr_Function_float = OpTypePointer Function %float
%float_70 = OpConstant %float 70
%main_1 = OpFunction %void None %1
%4 = OpLabel
%x_37 = OpVariable %_ptr_Function_S_1 Function %14
%x_2_1 = OpVariable %_ptr_Function_S_1 Function %14
%15 = OpLoad %S_1 %x_37
OpStore %x_2_1 %15
%21 = OpAccessChain %_ptr_Function_float %x_2_1 %uint_1 %uint_2 %uint_0 %uint_1
OpStore %21 %float_70
%23 = OpLoad %S_1 %x_2_1
OpReturn
OpFunctionEnd
%main = OpFunction %void None %1
%25 = OpLabel
%26 = OpFunctionCall %void %main_1
OpReturn
OpFunctionEnd