• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; Test: SpvParserTest_ValueFromBlockNotInBlockOrder.spvasm
2; SPIR-V
3; Version: 1.0
4; Generator: Khronos SPIR-V Tools Assembler; 0
5; Bound: 501
6; Schema: 0
7OpCapability Shader
8OpMemoryModel Logical Simple
9OpEntryPoint Fragment %100 "main"
10OpExecutionMode %100 OriginUpperLeft
11%void = OpTypeVoid
12%2 = 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%float_42 = OpConstant %float 42
22%13 = OpUndef %bool
23%100 = OpFunction %void None %2
24%10 = OpLabel
25OpBranch %30
26%20 = OpLabel
27%499 = OpFAdd %float %float_42 %float_42
28%500 = OpFAdd %float %499 %float_42
29OpBranch %25
30%25 = OpLabel
31OpBranch %80
32%30 = OpLabel
33OpLoopMerge %90 %80 None
34OpBranchConditional %13 %90 %40
35%40 = OpLabel
36OpBranch %90
37%80 = OpLabel
38%81 = OpFMul %float %500 %float_42
39OpBranch %30
40%90 = OpLabel
41OpReturn
42OpFunctionEnd
43
44