blob: b1df3bd310f5c1824fb2e68516f53c7b6d46298f [file] [log] [blame] [edit]
; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 1
; Bound: 31
; Schema: 0
OpCapability Shader
OpMemoryModel Logical GLSL450
OpEntryPoint GLCompute %f "f"
OpExecutionMode %f LocalSize 1 1 1
OpName %m "m"
OpMemberName %tint_symbol_1 0 "tint_symbol"
OpName %tint_symbol_1 "tint_symbol_1"
OpName %f "f"
OpMemberDecorate %tint_symbol_1 0 Offset 0
OpMemberDecorate %tint_symbol_1 0 ColMajor
OpMemberDecorate %tint_symbol_1 0 MatrixStride 8
OpDecorate %tint_symbol_1 Block
OpDecorate %19 DescriptorSet 0
OpDecorate %19 Binding 0
OpDecorate %19 Coherent
%float = OpTypeFloat 32
%v2float = OpTypeVector %float 2
%mat4v2float = OpTypeMatrix %v2float 4
%_ptr_Private_mat4v2float = OpTypePointer Private %mat4v2float
%float_0 = OpConstant %float 0
%float_1 = OpConstant %float 1
%7 = OpConstantComposite %v2float %float_0 %float_1
%float_2 = OpConstant %float 2
%float_3 = OpConstant %float 3
%10 = OpConstantComposite %v2float %float_2 %float_3
%float_4 = OpConstant %float 4
%float_5 = OpConstant %float 5
%13 = OpConstantComposite %v2float %float_4 %float_5
%float_6 = OpConstant %float 6
%float_7 = OpConstant %float 7
%16 = OpConstantComposite %v2float %float_6 %float_7
%6 = OpConstantComposite %mat4v2float %7 %10 %13 %16
%m = OpVariable %_ptr_Private_mat4v2float Private %6
%tint_symbol_1 = OpTypeStruct %mat4v2float
%_ptr_StorageBuffer_tint_symbol_1 = OpTypePointer StorageBuffer %tint_symbol_1
%19 = OpVariable %_ptr_StorageBuffer_tint_symbol_1 StorageBuffer
%void = OpTypeVoid
%24 = OpTypeFunction %void
%_ptr_StorageBuffer_mat4v2float = OpTypePointer StorageBuffer %mat4v2float
%uint = OpTypeInt 32 0
%uint_0 = OpConstant %uint 0
%f = OpFunction %void None %24
%25 = OpLabel
%26 = OpLoad %mat4v2float %m None
%27 = OpAccessChain %_ptr_StorageBuffer_mat4v2float %19 %uint_0
OpStore %27 %26 None
OpReturn
OpFunctionEnd