blob: 49be6456f71fe81bd1a06433d562d811b9df5575 [file] [log] [blame]
David Netod1a026e2021-07-30 16:03:06 +00001; Test: SpvParserTest_VectorExtractDynamic_SignedIndex.spvasm
2; SPIR-V
3; Version: 1.0
4; Generator: Khronos SPIR-V Tools Assembler; 0
5; Bound: 101
6; Schema: 0
7OpCapability Shader
8OpMemoryModel Logical Simple
9OpEntryPoint GLCompute %100 "main"
10OpExecutionMode %100 LocalSize 1 1 1
11%void = OpTypeVoid
12%4 = OpTypeFunction %void
13%uint = OpTypeInt 32 0
14%int = OpTypeInt 32 1
15%float = OpTypeFloat 32
16%uint_10 = OpConstant %uint 10
17%uint_20 = OpConstant %uint 20
18%uint_3 = OpConstant %uint 3
19%uint_4 = OpConstant %uint 4
20%uint_5 = OpConstant %uint 5
21%int_1 = OpConstant %int 1
22%int_30 = OpConstant %int 30
23%int_40 = OpConstant %int 40
24%float_50 = OpConstant %float 50
25%float_60 = OpConstant %float 60
26%float_70 = OpConstant %float 70
27%v2uint = OpTypeVector %uint 2
28%v3uint = OpTypeVector %uint 3
29%v4uint = OpTypeVector %uint 4
30%v2int = OpTypeVector %int 2
31%v2float = OpTypeVector %float 2
32%mat3v2float = OpTypeMatrix %v2float 3
33%26 = OpConstantNull %mat3v2float
34%_struct_27 = OpTypeStruct %v2float %uint %int
35%_arr_uint_uint_5 = OpTypeArray %uint %uint_5
36%29 = OpConstantComposite %v2uint %uint_3 %uint_4
37%30 = OpConstantComposite %v2uint %uint_4 %uint_3
38%31 = OpConstantComposite %v2float %float_50 %float_60
39%32 = OpConstantComposite %v2float %float_60 %float_50
40%33 = OpConstantComposite %v2float %float_70 %float_70
41%100 = OpFunction %void None %4
42%34 = OpLabel
43%1 = OpCopyObject %v2uint %29
44%2 = OpCopyObject %int %int_1
45%10 = OpVectorExtractDynamic %uint %1 %2
46OpReturn
47OpFunctionEnd
48