• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; Test: SpvParserTestMiscInstruction_OpUndef_BeforeFunction_Vector.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%6 = 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%4 = OpUndef %v2bool
22%1 = OpUndef %v2uint
23%2 = OpUndef %v2int
24%3 = OpUndef %v2float
25%100 = OpFunction %void None %6
26%19 = OpLabel
27%14 = OpCopyObject %v2bool %4
28%11 = OpCopyObject %v2uint %1
29%12 = OpCopyObject %v2int %2
30%13 = OpCopyObject %v2float %3
31OpReturn
32OpFunctionEnd
33
34