• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; Test: SpvParserTestMiscInstruction_OpUndef_InFunction_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 Fragment %100 "main"
10OpExecutionMode %100 OriginUpperLeft
11%void = OpTypeVoid
12%3 = OpTypeFunction %void
13%bool = OpTypeBool
14%uint = OpTypeInt 32 0
15%int = OpTypeInt 32 1
16%float = OpTypeFloat 32
17%v2bool = OpTypeVector %bool 2
18%v2uint = OpTypeVector %uint 2
19%v2int = OpTypeVector %int 2
20%v2float = OpTypeVector %float 2
21%uint_2 = OpConstant %uint 2
22%_arr_uint_uint_2 = OpTypeArray %uint %uint_2
23%100 = OpFunction %void None %3
24%15 = OpLabel
25%1 = OpUndef %_arr_uint_uint_2
26%11 = OpCopyObject %_arr_uint_uint_2 %1
27OpReturn
28OpFunctionEnd
29
30