dawn-cmake/test/tint/builtins/workgroupUniformLoad/structures.wgsl.expected.sp...

61 lines
2.4 KiB
Plaintext

; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 0
; Bound: 29
; Schema: 0
OpCapability Shader
OpMemoryModel Logical GLSL450
OpEntryPoint GLCompute %unused_entry_point "unused_entry_point"
OpExecutionMode %unused_entry_point LocalSize 1 1 1
OpName %Outer "Outer"
OpMemberName %Outer 0 "a"
OpName %Inner "Inner"
OpMemberName %Inner 0 "b"
OpMemberName %Inner 1 "v"
OpMemberName %Inner 2 "m"
OpName %v "v"
OpName %unused_entry_point "unused_entry_point"
OpName %tint_workgroupUniformLoad_v "tint_workgroupUniformLoad_v"
OpName %foo "foo"
OpMemberDecorate %Outer 0 Offset 0
OpMemberDecorate %Inner 0 Offset 0
OpMemberDecorate %Inner 1 Offset 16
OpMemberDecorate %Inner 2 Offset 32
OpMemberDecorate %Inner 2 ColMajor
OpMemberDecorate %Inner 2 MatrixStride 16
OpDecorate %_arr_Inner_uint_4 ArrayStride 80
%bool = OpTypeBool
%int = OpTypeInt 32 1
%v4int = OpTypeVector %int 4
%float = OpTypeFloat 32
%v3float = OpTypeVector %float 3
%mat3v3float = OpTypeMatrix %v3float 3
%Inner = OpTypeStruct %bool %v4int %mat3v3float
%uint = OpTypeInt 32 0
%uint_4 = OpConstant %uint 4
%_arr_Inner_uint_4 = OpTypeArray %Inner %uint_4
%Outer = OpTypeStruct %_arr_Inner_uint_4
%_ptr_Workgroup_Outer = OpTypePointer Workgroup %Outer
%v = OpVariable %_ptr_Workgroup_Outer Workgroup
%void = OpTypeVoid
%14 = OpTypeFunction %void
%18 = OpTypeFunction %Outer
%uint_2 = OpConstant %uint 2
%uint_264 = OpConstant %uint 264
%unused_entry_point = OpFunction %void None %14
%17 = OpLabel
OpReturn
OpFunctionEnd
%tint_workgroupUniformLoad_v = OpFunction %Outer None %18
%20 = OpLabel
OpControlBarrier %uint_2 %uint_2 %uint_264
%24 = OpLoad %Outer %v
OpControlBarrier %uint_2 %uint_2 %uint_264
OpReturnValue %24
OpFunctionEnd
%foo = OpFunction %Outer None %18
%27 = OpLabel
%28 = OpFunctionCall %Outer %tint_workgroupUniformLoad_v
OpReturnValue %28
OpFunctionEnd