• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; Test: SpvParserTestMiscInstruction_OpUndef_InFunction_Matrix.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%mat2v2float = OpTypeMatrix %v2float 2
22%100 = OpFunction %void None %3
23%14 = OpLabel
24%1 = OpUndef %mat2v2float
25%11 = OpCopyObject %mat2v2float %1
26OpReturn
27OpFunctionEnd
28
29