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

31 lines
1009 B
Plaintext
Raw Normal View History

; 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"
%void = OpTypeVoid
%1 = OpTypeFunction %void
%uint = OpTypeInt 32 0
%v2uint = OpTypeVector %uint 2
%uint_4 = OpConstant %uint 4
%uint_3 = OpConstant %uint 3
%9 = OpConstantComposite %v2uint %uint_4 %uint_3
%uint_0 = OpConstant %uint 0
%main_1 = OpFunction %void None %1
%4 = OpLabel
%11 = OpCompositeExtract %uint %9 1
%12 = OpCompositeConstruct %v2uint %uint_0 %11
OpReturn
OpFunctionEnd
%main = OpFunction %void None %1
%14 = OpLabel
%15 = OpFunctionCall %void %main_1
OpReturn
OpFunctionEnd