• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1spv.register.noautoassign.frag
2// Module Version 10000
3// Generated by (magic number): 80007
4// Id's are bound by 155
5
6                              Capability Shader
7                              Capability Sampled1D
8               1:             ExtInstImport  "GLSL.std.450"
9                              MemoryModel Logical GLSL450
10                              EntryPoint Fragment 4  "main_ep" 151
11                              ExecutionMode 4 OriginUpperLeft
12                              Source HLSL 500
13                              Name 4  "main_ep"
14                              Name 9  "Func1("
15                              Name 11  "Func2("
16                              Name 13  "Func2_unused("
17                              Name 15  "PS_OUTPUT"
18                              MemberName 15(PS_OUTPUT) 0  "Color"
19                              Name 17  "@main_ep("
20                              Name 21  "g_tTex1"
21                              Name 25  "g_sSamp1"
22                              Name 31  "g_tTex2"
23                              Name 33  "g_sSamp2"
24                              Name 43  "g_tTex3"
25                              Name 50  "g_sSamp3"
26                              Name 68  "g_tTex4"
27                              Name 73  "g_sSamp4"
28                              Name 88  "g_tTex5"
29                              Name 90  "g_sSamp5"
30                              Name 97  "MyStruct_t"
31                              MemberName 97(MyStruct_t) 0  "a"
32                              MemberName 97(MyStruct_t) 1  "b"
33                              MemberName 97(MyStruct_t) 2  "c"
34                              Name 99  "$Global"
35                              MemberName 99($Global) 0  "mystruct"
36                              MemberName 99($Global) 1  "myfloat4_a"
37                              MemberName 99($Global) 2  "myfloat4_b"
38                              MemberName 99($Global) 3  "myint4_a"
39                              Name 101  ""
40                              Name 123  "g_tTex_unused1"
41                              Name 125  "g_sSamp_unused1"
42                              Name 130  "g_tTex_unused2"
43                              Name 132  "g_sSamp_unused2"
44                              Name 141  "psout"
45                              Name 151  "@entryPointOutput.Color"
46                              Name 154  "g_tTex_unused3"
47                              Decorate 21(g_tTex1) DescriptorSet 0
48                              Decorate 21(g_tTex1) Binding 11
49                              Decorate 25(g_sSamp1) DescriptorSet 0
50                              Decorate 25(g_sSamp1) Binding 5
51                              Decorate 31(g_tTex2) DescriptorSet 0
52                              Decorate 31(g_tTex2) Binding 0
53                              Decorate 33(g_sSamp2) DescriptorSet 0
54                              Decorate 33(g_sSamp2) Binding 0
55                              Decorate 43(g_tTex3) DescriptorSet 0
56                              Decorate 43(g_tTex3) Binding 13
57                              Decorate 50(g_sSamp3) DescriptorSet 0
58                              Decorate 50(g_sSamp3) Binding 7
59                              Decorate 68(g_tTex4) DescriptorSet 0
60                              Decorate 68(g_tTex4) Binding 0
61                              Decorate 73(g_sSamp4) DescriptorSet 0
62                              Decorate 73(g_sSamp4) Binding 0
63                              Decorate 88(g_tTex5) DescriptorSet 0
64                              Decorate 88(g_tTex5) Binding 0
65                              Decorate 90(g_sSamp5) DescriptorSet 0
66                              Decorate 90(g_sSamp5) Binding 0
67                              MemberDecorate 97(MyStruct_t) 0 Offset 0
68                              MemberDecorate 97(MyStruct_t) 1 Offset 4
69                              MemberDecorate 97(MyStruct_t) 2 Offset 16
70                              MemberDecorate 99($Global) 0 Offset 0
71                              MemberDecorate 99($Global) 1 Offset 32
72                              MemberDecorate 99($Global) 2 Offset 48
73                              MemberDecorate 99($Global) 3 Offset 64
74                              Decorate 99($Global) Block
75                              Decorate 101 DescriptorSet 0
76                              Decorate 101 Binding 0
77                              Decorate 123(g_tTex_unused1) DescriptorSet 0
78                              Decorate 123(g_tTex_unused1) Binding 10
79                              Decorate 125(g_sSamp_unused1) DescriptorSet 0
80                              Decorate 125(g_sSamp_unused1) Binding 0
81                              Decorate 130(g_tTex_unused2) DescriptorSet 0
82                              Decorate 130(g_tTex_unused2) Binding 12
83                              Decorate 132(g_sSamp_unused2) DescriptorSet 0
84                              Decorate 132(g_sSamp_unused2) Binding 0
85                              Decorate 151(@entryPointOutput.Color) Location 0
86                              Decorate 154(g_tTex_unused3) DescriptorSet 0
87                              Decorate 154(g_tTex_unused3) Binding 0
88               2:             TypeVoid
89               3:             TypeFunction 2
90               6:             TypeFloat 32
91               7:             TypeVector 6(float) 4
92               8:             TypeFunction 7(fvec4)
93   15(PS_OUTPUT):             TypeStruct 7(fvec4)
94              16:             TypeFunction 15(PS_OUTPUT)
95              19:             TypeImage 6(float) 1D sampled format:Unknown
96              20:             TypePointer UniformConstant 19
97     21(g_tTex1):     20(ptr) Variable UniformConstant
98              23:             TypeSampler
99              24:             TypePointer UniformConstant 23
100    25(g_sSamp1):     24(ptr) Variable UniformConstant
101              27:             TypeSampledImage 19
102              29:    6(float) Constant 1036831949
103     31(g_tTex2):     20(ptr) Variable UniformConstant
104    33(g_sSamp2):     24(ptr) Variable UniformConstant
105              36:    6(float) Constant 1045220557
106              39:             TypeInt 32 0
107              40:     39(int) Constant 2
108              41:             TypeArray 19 40
109              42:             TypePointer UniformConstant 41
110     43(g_tTex3):     42(ptr) Variable UniformConstant
111              44:             TypeInt 32 1
112              45:     44(int) Constant 0
113              48:             TypeArray 23 40
114              49:             TypePointer UniformConstant 48
115    50(g_sSamp3):     49(ptr) Variable UniformConstant
116              54:    6(float) Constant 1050253722
117              57:     44(int) Constant 1
118              65:     39(int) Constant 3
119              66:             TypeArray 19 65
120              67:             TypePointer UniformConstant 66
121     68(g_tTex4):     67(ptr) Variable UniformConstant
122              71:             TypeArray 23 65
123              72:             TypePointer UniformConstant 71
124    73(g_sSamp4):     72(ptr) Variable UniformConstant
125              77:    6(float) Constant 1053609165
126              80:     44(int) Constant 2
127     88(g_tTex5):     20(ptr) Variable UniformConstant
128    90(g_sSamp5):     24(ptr) Variable UniformConstant
129              93:    6(float) Constant 1056964608
130              96:             TypeVector 6(float) 3
131  97(MyStruct_t):             TypeStruct 44(int) 6(float) 96(fvec3)
132              98:             TypeVector 44(int) 4
133     99($Global):             TypeStruct 97(MyStruct_t) 7(fvec4) 7(fvec4) 98(ivec4)
134             100:             TypePointer Uniform 99($Global)
135             101:    100(ptr) Variable Uniform
136             102:     39(int) Constant 1
137             103:             TypePointer Uniform 6(float)
138123(g_tTex_unused1):     20(ptr) Variable UniformConstant
139125(g_sSamp_unused1):     24(ptr) Variable UniformConstant
140             128:    6(float) Constant 1066192077
141130(g_tTex_unused2):     20(ptr) Variable UniformConstant
142132(g_sSamp_unused2):     24(ptr) Variable UniformConstant
143             135:    6(float) Constant 1067030938
144             140:             TypePointer Function 15(PS_OUTPUT)
145             145:             TypePointer Function 7(fvec4)
146             150:             TypePointer Output 7(fvec4)
147151(@entryPointOutput.Color):    150(ptr) Variable Output
148154(g_tTex_unused3):     20(ptr) Variable UniformConstant
149      4(main_ep):           2 Function None 3
150               5:             Label
151             152:15(PS_OUTPUT) FunctionCall 17(@main_ep()
152             153:    7(fvec4) CompositeExtract 152 0
153                              Store 151(@entryPointOutput.Color) 153
154                              Return
155                              FunctionEnd
156       9(Func1():    7(fvec4) Function None 8
157              10:             Label
158              22:          19 Load 21(g_tTex1)
159              26:          23 Load 25(g_sSamp1)
160              28:          27 SampledImage 22 26
161              30:    7(fvec4) ImageSampleImplicitLod 28 29
162              32:          19 Load 31(g_tTex2)
163              34:          23 Load 33(g_sSamp2)
164              35:          27 SampledImage 32 34
165              37:    7(fvec4) ImageSampleImplicitLod 35 36
166              38:    7(fvec4) FAdd 30 37
167              46:     20(ptr) AccessChain 43(g_tTex3) 45
168              47:          19 Load 46
169              51:     24(ptr) AccessChain 50(g_sSamp3) 45
170              52:          23 Load 51
171              53:          27 SampledImage 47 52
172              55:    7(fvec4) ImageSampleImplicitLod 53 54
173              56:    7(fvec4) FAdd 38 55
174              58:     20(ptr) AccessChain 43(g_tTex3) 57
175              59:          19 Load 58
176              60:     24(ptr) AccessChain 50(g_sSamp3) 57
177              61:          23 Load 60
178              62:          27 SampledImage 59 61
179              63:    7(fvec4) ImageSampleImplicitLod 62 54
180              64:    7(fvec4) FAdd 56 63
181              69:     20(ptr) AccessChain 68(g_tTex4) 57
182              70:          19 Load 69
183              74:     24(ptr) AccessChain 73(g_sSamp4) 57
184              75:          23 Load 74
185              76:          27 SampledImage 70 75
186              78:    7(fvec4) ImageSampleImplicitLod 76 77
187              79:    7(fvec4) FAdd 64 78
188              81:     20(ptr) AccessChain 68(g_tTex4) 80
189              82:          19 Load 81
190              83:     24(ptr) AccessChain 73(g_sSamp4) 80
191              84:          23 Load 83
192              85:          27 SampledImage 82 84
193              86:    7(fvec4) ImageSampleImplicitLod 85 77
194              87:    7(fvec4) FAdd 79 86
195              89:          19 Load 88(g_tTex5)
196              91:          23 Load 90(g_sSamp5)
197              92:          27 SampledImage 89 91
198              94:    7(fvec4) ImageSampleImplicitLod 92 93
199              95:    7(fvec4) FAdd 87 94
200             104:    103(ptr) AccessChain 101 45 80 102
201             105:    6(float) Load 104
202             106:    7(fvec4) CompositeConstruct 105 105 105 105
203             107:    7(fvec4) FAdd 95 106
204                              ReturnValue 107
205                              FunctionEnd
206      11(Func2():    7(fvec4) Function None 8
207              12:             Label
208             110:          19 Load 21(g_tTex1)
209             111:          23 Load 25(g_sSamp1)
210             112:          27 SampledImage 110 111
211             113:    7(fvec4) ImageSampleImplicitLod 112 29
212             114:     20(ptr) AccessChain 43(g_tTex3) 57
213             115:          19 Load 114
214             116:     24(ptr) AccessChain 50(g_sSamp3) 57
215             117:          23 Load 116
216             118:          27 SampledImage 115 117
217             119:    7(fvec4) ImageSampleImplicitLod 118 54
218             120:    7(fvec4) FAdd 113 119
219                              ReturnValue 120
220                              FunctionEnd
22113(Func2_unused():    7(fvec4) Function None 8
222              14:             Label
223             124:          19 Load 123(g_tTex_unused1)
224             126:          23 Load 125(g_sSamp_unused1)
225             127:          27 SampledImage 124 126
226             129:    7(fvec4) ImageSampleImplicitLod 127 128
227             131:          19 Load 130(g_tTex_unused2)
228             133:          23 Load 132(g_sSamp_unused2)
229             134:          27 SampledImage 131 133
230             136:    7(fvec4) ImageSampleImplicitLod 134 135
231             137:    7(fvec4) FAdd 129 136
232                              ReturnValue 137
233                              FunctionEnd
234   17(@main_ep():15(PS_OUTPUT) Function None 16
235              18:             Label
236      141(psout):    140(ptr) Variable Function
237             142:    7(fvec4) FunctionCall 9(Func1()
238             143:    7(fvec4) FunctionCall 11(Func2()
239             144:    7(fvec4) FAdd 142 143
240             146:    145(ptr) AccessChain 141(psout) 45
241                              Store 146 144
242             147:15(PS_OUTPUT) Load 141(psout)
243                              ReturnValue 147
244                              FunctionEnd
245