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