• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1spv.structure.frag
2// Module Version 10000
3// Generated by (magic number): 8000a
4// Id's are bound by 60
5
6                              Capability Shader
7               1:             ExtInstImport  "GLSL.std.450"
8                              MemoryModel Logical GLSL450
9                              EntryPoint Fragment 4  "main" 45 54
10                              ExecutionMode 4 OriginUpperLeft
11                              Source GLSL 140
12                              Name 4  "main"
13                              Name 8  "scale"
14                              Name 18  "lunarStruct1"
15                              MemberName 18(lunarStruct1) 0  "i"
16                              MemberName 18(lunarStruct1) 1  "f"
17                              MemberName 18(lunarStruct1) 2  "color"
18                              Name 21  "lunarStruct2"
19                              MemberName 21(lunarStruct2) 0  "i"
20                              MemberName 21(lunarStruct2) 1  "f"
21                              MemberName 21(lunarStruct2) 2  "s1_1"
22                              Name 24  "foo2"
23                              Name 45  "gl_FragColor"
24                              Name 50  "samp2D"
25                              Name 54  "coord"
26                              Name 59  "foo"
27                              Decorate 45(gl_FragColor) Location 0
28                              Decorate 50(samp2D) DescriptorSet 0
29                              Decorate 50(samp2D) Binding 0
30                              Decorate 54(coord) Location 0
31               2:             TypeVoid
32               3:             TypeFunction 2
33               6:             TypeFloat 32
34               7:             TypePointer Function 6(float)
35               9:    6(float) Constant 0
36              10:             TypeInt 32 1
37              11:             TypeInt 32 0
38              12:     11(int) Constant 5
39              13:             TypeArray 10(int) 12
40              14:     11(int) Constant 4
41              15:             TypeArray 6(float) 14
42              16:             TypeVector 6(float) 4
43              17:             TypeArray 16(fvec4) 12
4418(lunarStruct1):             TypeStruct 10(int) 15 17
45              19:     11(int) Constant 7
46              20:             TypeArray 18(lunarStruct1) 19
4721(lunarStruct2):             TypeStruct 13 6(float) 20
48              22:             TypeArray 21(lunarStruct2) 12
49              23:             TypePointer Private 22
50        24(foo2):     23(ptr) Variable Private
51              25:     10(int) Constant 3
52              26:     10(int) Constant 0
53              27:     10(int) Constant 4
54              28:             TypePointer Private 10(int)
55              31:             TypeBool
56              35:     10(int) Constant 2
57              36:     11(int) Constant 0
58              37:             TypePointer Private 6(float)
59              41:     10(int) Constant 1
60              44:             TypePointer Output 16(fvec4)
6145(gl_FragColor):     44(ptr) Variable Output
62              47:             TypeImage 6(float) 2D sampled format:Unknown
63              48:             TypeSampledImage 47
64              49:             TypePointer UniformConstant 48
65      50(samp2D):     49(ptr) Variable UniformConstant
66              52:             TypeVector 6(float) 2
67              53:             TypePointer Input 52(fvec2)
68       54(coord):     53(ptr) Variable Input
69              58:             TypePointer Private 18(lunarStruct1)
70         59(foo):     58(ptr) Variable Private
71         4(main):           2 Function None 3
72               5:             Label
73        8(scale):      7(ptr) Variable Function
74                              Store 8(scale) 9
75              29:     28(ptr) AccessChain 24(foo2) 25 26 27
76              30:     10(int) Load 29
77              32:    31(bool) SGreaterThan 30 26
78                              SelectionMerge 34 None
79                              BranchConditional 32 33 40
80              33:               Label
81              38:     37(ptr)   AccessChain 24(foo2) 25 35 35 35 25 36
82              39:    6(float)   Load 38
83                                Store 8(scale) 39
84                                Branch 34
85              40:               Label
86              42:     37(ptr)   AccessChain 24(foo2) 25 35 35 41 25
87              43:    6(float)   Load 42
88                                Store 8(scale) 43
89                                Branch 34
90              34:             Label
91              46:    6(float) Load 8(scale)
92              51:          48 Load 50(samp2D)
93              55:   52(fvec2) Load 54(coord)
94              56:   16(fvec4) ImageSampleImplicitLod 51 55
95              57:   16(fvec4) VectorTimesScalar 56 46
96                              Store 45(gl_FragColor) 57
97                              Return
98                              FunctionEnd
99