• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1spv.do-simple.vert
2// Module Version 10000
3// Generated by (magic number): 8000a
4// Id's are bound by 21
5
6                              Capability Shader
7               1:             ExtInstImport  "GLSL.std.450"
8                              MemoryModel Logical GLSL450
9                              EntryPoint Vertex 4  "main"
10                              Source ESSL 310
11                              Name 4  "main"
12                              Name 8  "i"
13               2:             TypeVoid
14               3:             TypeFunction 2
15               6:             TypeInt 32 1
16               7:             TypePointer Function 6(int)
17               9:      6(int) Constant 0
18              15:      6(int) Constant 1
19              18:      6(int) Constant 10
20              19:             TypeBool
21         4(main):           2 Function None 3
22               5:             Label
23            8(i):      7(ptr) Variable Function
24                              Store 8(i) 9
25                              Branch 10
26              10:             Label
27                              LoopMerge 12 13 None
28                              Branch 11
29              11:             Label
30              14:      6(int) Load 8(i)
31              16:      6(int) IAdd 14 15
32                              Store 8(i) 16
33                              Branch 13
34              13:             Label
35              17:      6(int) Load 8(i)
36              20:    19(bool) SLessThan 17 18
37                              BranchConditional 20 10 12
38              12:             Label
39                              Return
40                              FunctionEnd
41