• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1spv.1.4.OpEntryPoint.frag
2// Module Version 10400
3// Generated by (magic number): 8000a
4// Id's are bound by 64
5
6                              Capability Shader
7               1:             ExtInstImport  "GLSL.std.450"
8                              MemoryModel Logical GLSL450
9                              EntryPoint Fragment 4  "main" 11 14 17 25 33 41
10                              ExecutionMode 4 OriginUpperLeft
11                              Source GLSL 450
12                              Name 4  "main"
13                              Name 9  "functionv"
14                              Name 11  "inv"
15                              Name 14  "globalv"
16                              Name 17  "outv"
17                              Name 23  "ubt"
18                              MemberName 23(ubt) 0  "v"
19                              Name 25  "uniformv"
20                              Name 31  "pushB"
21                              MemberName 31(pushB) 0  "a"
22                              Name 33  "pushv"
23                              Name 39  "bbt"
24                              MemberName 39(bbt) 0  "f"
25                              Name 41  "bufferv"
26                              Decorate 11(inv) Location 0
27                              Decorate 17(outv) Location 0
28                              MemberDecorate 23(ubt) 0 Offset 0
29                              Decorate 23(ubt) Block
30                              Decorate 25(uniformv) DescriptorSet 0
31                              Decorate 25(uniformv) Binding 0
32                              MemberDecorate 31(pushB) 0 Offset 0
33                              Decorate 31(pushB) Block
34                              Decorate 33(pushv) Binding 2
35                              MemberDecorate 39(bbt) 0 Offset 0
36                              Decorate 39(bbt) Block
37                              Decorate 41(bufferv) DescriptorSet 0
38                              Decorate 41(bufferv) Binding 1
39               2:             TypeVoid
40               3:             TypeFunction 2
41               6:             TypeFloat 32
42               7:             TypeVector 6(float) 4
43               8:             TypePointer Function 7(fvec4)
44              10:             TypePointer Input 7(fvec4)
45         11(inv):     10(ptr) Variable Input
46              13:             TypePointer Private 7(fvec4)
47     14(globalv):     13(ptr) Variable Private
48              16:             TypePointer Output 7(fvec4)
49        17(outv):     16(ptr) Variable Output
50         23(ubt):             TypeStruct 7(fvec4)
51              24:             TypePointer Uniform 23(ubt)
52    25(uniformv):     24(ptr) Variable Uniform
53              26:             TypeInt 32 1
54              27:     26(int) Constant 0
55              28:             TypePointer Uniform 7(fvec4)
56       31(pushB):             TypeStruct 26(int)
57              32:             TypePointer PushConstant 31(pushB)
58       33(pushv):     32(ptr) Variable PushConstant
59              34:             TypePointer PushConstant 26(int)
60         39(bbt):             TypeStruct 6(float)
61              40:             TypePointer StorageBuffer 39(bbt)
62     41(bufferv):     40(ptr) Variable StorageBuffer
63              42:             TypePointer StorageBuffer 6(float)
64         4(main):           2 Function None 3
65               5:             Label
66    9(functionv):      8(ptr) Variable Function
67              12:    7(fvec4) Load 11(inv)
68                              Store 9(functionv) 12
69              15:    7(fvec4) Load 11(inv)
70                              Store 14(globalv) 15
71              18:    7(fvec4) Load 9(functionv)
72              19:    7(fvec4) Load 11(inv)
73              20:    7(fvec4) FAdd 18 19
74              21:    7(fvec4) Load 14(globalv)
75              22:    7(fvec4) FAdd 20 21
76              29:     28(ptr) AccessChain 25(uniformv) 27
77              30:    7(fvec4) Load 29
78              35:     34(ptr) AccessChain 33(pushv) 27
79              36:     26(int) Load 35
80              37:    6(float) ConvertSToF 36
81              38:    7(fvec4) VectorTimesScalar 30 37
82              43:     42(ptr) AccessChain 41(bufferv) 27
83              44:    6(float) Load 43
84              45:    7(fvec4) VectorTimesScalar 38 44
85              46:    7(fvec4) FAdd 22 45
86                              Store 17(outv) 46
87              47:    7(fvec4) Load 9(functionv)
88              48:    7(fvec4) Load 11(inv)
89              49:    7(fvec4) FAdd 47 48
90              50:    7(fvec4) Load 14(globalv)
91              51:    7(fvec4) FAdd 49 50
92              52:     28(ptr) AccessChain 25(uniformv) 27
93              53:    7(fvec4) Load 52
94              54:     34(ptr) AccessChain 33(pushv) 27
95              55:     26(int) Load 54
96              56:    6(float) ConvertSToF 55
97              57:    7(fvec4) VectorTimesScalar 53 56
98              58:     42(ptr) AccessChain 41(bufferv) 27
99              59:    6(float) Load 58
100              60:    7(fvec4) VectorTimesScalar 57 59
101              61:    7(fvec4) FAdd 51 60
102              62:    7(fvec4) Load 17(outv)
103              63:    7(fvec4) FAdd 62 61
104                              Store 17(outv) 63
105                              Return
106                              FunctionEnd
107