• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; Test: SpvParserTest_CompositeExtract_Array.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%25 = OpConstantNull %mat3v2float
34%_struct_26 = OpTypeStruct %v2float %uint %int
35%_arr_uint_uint_5 = OpTypeArray %uint %uint_5
36%28 = OpConstantComposite %v2uint %uint_3 %uint_4
37%29 = OpConstantComposite %v2uint %uint_4 %uint_3
38%30 = OpConstantComposite %v2float %float_50 %float_60
39%31 = OpConstantComposite %v2float %float_60 %float_50
40%32 = OpConstantComposite %v2float %float_70 %float_70
41%_ptr_Function__arr_uint_uint_5 = OpTypePointer Function %_arr_uint_uint_5
42%100 = OpFunction %void None %4
43%34 = OpLabel
44%35 = OpVariable %_ptr_Function__arr_uint_uint_5 Function
45%1 = OpLoad %_arr_uint_uint_5 %35
46%2 = OpCompositeExtract %uint %1 3
47OpReturn
48OpFunctionEnd
49
50