dawn-cmake/test/unittest/reader/spirv/SpvParserTest_Composite_Con...

32 lines
1.1 KiB
Plaintext

; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 0
; Bound: 16
; Schema: 0
OpCapability Shader
OpMemoryModel Logical GLSL450
OpEntryPoint GLCompute %main "main"
OpExecutionMode %main LocalSize 1 1 1
OpName %main_1 "main_1"
OpName %main "main"
OpDecorate %_arr_uint_uint_5 ArrayStride 4
%void = OpTypeVoid
%1 = OpTypeFunction %void
%uint = OpTypeInt 32 0
%uint_5 = OpConstant %uint 5
%_arr_uint_uint_5 = OpTypeArray %uint %uint_5
%uint_10 = OpConstant %uint 10
%uint_20 = OpConstant %uint 20
%uint_3 = OpConstant %uint 3
%uint_4 = OpConstant %uint 4
%12 = OpConstantComposite %_arr_uint_uint_5 %uint_10 %uint_20 %uint_3 %uint_4 %uint_5
%main_1 = OpFunction %void None %1
%4 = OpLabel
OpReturn
OpFunctionEnd
%main = OpFunction %void None %1
%14 = OpLabel
%15 = OpFunctionCall %void %main_1
OpReturn
OpFunctionEnd