• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1hlsl.hull.void.tesc
2Shader version: 500
3vertices = 3
4vertex spacing = fractional_even_spacing
5triangle order = ccw
60:? Sequence
70:26  Function Definition: @main(struct-VS_OUT-vf31[3]; ( temp structure{ temp 3-component vector of float cpoint})
80:26    Function Parameters:
90:26      'ip' ( in 3-element array of structure{ temp 3-component vector of float cpoint})
100:?     Sequence
110:28      move second child to first child ( temp 3-component vector of float)
120:28        cpoint: direct index for structure ( temp 3-component vector of float)
130:28          'output' ( temp structure{ temp 3-component vector of float cpoint})
140:28          Constant:
150:28            0 (const int)
160:28        cpoint: direct index for structure ( temp 3-component vector of float)
170:28          direct index ( temp structure{ temp 3-component vector of float cpoint})
180:28            'ip' ( in 3-element array of structure{ temp 3-component vector of float cpoint})
190:28            Constant:
200:28              0 (const int)
210:28          Constant:
220:28            0 (const int)
230:29      Branch: Return with expression
240:29        'output' ( temp structure{ temp 3-component vector of float cpoint})
250:26  Function Definition: main( ( temp void)
260:26    Function Parameters:
270:?     Sequence
280:26      Sequence
290:26        move second child to first child ( temp 3-component vector of float)
300:26          cpoint: direct index for structure ( temp 3-component vector of float)
310:26            direct index ( temp structure{ temp 3-component vector of float cpoint})
320:?               'ip' ( temp 3-element array of structure{ temp 3-component vector of float cpoint})
330:26              Constant:
340:26                0 (const int)
350:26            Constant:
360:26              0 (const int)
370:26          direct index (layout( location=0) in 3-component vector of float)
380:?             'ip.cpoint' (layout( location=0) in 3-element array of 3-component vector of float)
390:26            Constant:
400:26              0 (const int)
410:26        move second child to first child ( temp 3-component vector of float)
420:26          cpoint: direct index for structure ( temp 3-component vector of float)
430:26            direct index ( temp structure{ temp 3-component vector of float cpoint})
440:?               'ip' ( temp 3-element array of structure{ temp 3-component vector of float cpoint})
450:26              Constant:
460:26                1 (const int)
470:26            Constant:
480:26              0 (const int)
490:26          direct index (layout( location=0) in 3-component vector of float)
500:?             'ip.cpoint' (layout( location=0) in 3-element array of 3-component vector of float)
510:26            Constant:
520:26              1 (const int)
530:26        move second child to first child ( temp 3-component vector of float)
540:26          cpoint: direct index for structure ( temp 3-component vector of float)
550:26            direct index ( temp structure{ temp 3-component vector of float cpoint})
560:?               'ip' ( temp 3-element array of structure{ temp 3-component vector of float cpoint})
570:26              Constant:
580:26                2 (const int)
590:26            Constant:
600:26              0 (const int)
610:26          direct index (layout( location=0) in 3-component vector of float)
620:?             'ip.cpoint' (layout( location=0) in 3-element array of 3-component vector of float)
630:26            Constant:
640:26              2 (const int)
650:26      Sequence
660:26        move second child to first child ( temp 3-component vector of float)
670:26          indirect index (layout( location=0) out 3-component vector of float)
680:?             '@entryPointOutput.cpoint' (layout( location=0) out 3-element array of 3-component vector of float)
690:?             'InvocationId' ( in uint InvocationID)
700:26          cpoint: direct index for structure ( temp 3-component vector of float)
710:26            Function Call: @main(struct-VS_OUT-vf31[3]; ( temp structure{ temp 3-component vector of float cpoint})
720:?               'ip' ( temp 3-element array of structure{ temp 3-component vector of float cpoint})
730:26            Constant:
740:26              0 (const int)
750:?       Barrier ( temp void)
760:?       Test condition and select ( temp void)
770:?         Condition
780:?         Compare Equal ( temp bool)
790:?           'InvocationId' ( in uint InvocationID)
800:?           Constant:
810:?             0 (const int)
820:?         true case
830:?         Sequence
840:?           Function Call: PCF( ( temp void)
850:33  Function Definition: PCF( ( temp void)
860:33    Function Parameters:
870:?   Linker Objects
880:?     '@entryPointOutput.cpoint' (layout( location=0) out 3-element array of 3-component vector of float)
890:?     'ip.cpoint' (layout( location=0) in 3-element array of 3-component vector of float)
900:?     'InvocationId' ( in uint InvocationID)
91
92
93Linked tessellation control stage:
94
95
96Shader version: 500
97vertices = 3
98vertex spacing = fractional_even_spacing
99triangle order = ccw
1000:? Sequence
1010:26  Function Definition: @main(struct-VS_OUT-vf31[3]; ( temp structure{ temp 3-component vector of float cpoint})
1020:26    Function Parameters:
1030:26      'ip' ( in 3-element array of structure{ temp 3-component vector of float cpoint})
1040:?     Sequence
1050:28      move second child to first child ( temp 3-component vector of float)
1060:28        cpoint: direct index for structure ( temp 3-component vector of float)
1070:28          'output' ( temp structure{ temp 3-component vector of float cpoint})
1080:28          Constant:
1090:28            0 (const int)
1100:28        cpoint: direct index for structure ( temp 3-component vector of float)
1110:28          direct index ( temp structure{ temp 3-component vector of float cpoint})
1120:28            'ip' ( in 3-element array of structure{ temp 3-component vector of float cpoint})
1130:28            Constant:
1140:28              0 (const int)
1150:28          Constant:
1160:28            0 (const int)
1170:29      Branch: Return with expression
1180:29        'output' ( temp structure{ temp 3-component vector of float cpoint})
1190:26  Function Definition: main( ( temp void)
1200:26    Function Parameters:
1210:?     Sequence
1220:26      Sequence
1230:26        move second child to first child ( temp 3-component vector of float)
1240:26          cpoint: direct index for structure ( temp 3-component vector of float)
1250:26            direct index ( temp structure{ temp 3-component vector of float cpoint})
1260:?               'ip' ( temp 3-element array of structure{ temp 3-component vector of float cpoint})
1270:26              Constant:
1280:26                0 (const int)
1290:26            Constant:
1300:26              0 (const int)
1310:26          direct index (layout( location=0) in 3-component vector of float)
1320:?             'ip.cpoint' (layout( location=0) in 3-element array of 3-component vector of float)
1330:26            Constant:
1340:26              0 (const int)
1350:26        move second child to first child ( temp 3-component vector of float)
1360:26          cpoint: direct index for structure ( temp 3-component vector of float)
1370:26            direct index ( temp structure{ temp 3-component vector of float cpoint})
1380:?               'ip' ( temp 3-element array of structure{ temp 3-component vector of float cpoint})
1390:26              Constant:
1400:26                1 (const int)
1410:26            Constant:
1420:26              0 (const int)
1430:26          direct index (layout( location=0) in 3-component vector of float)
1440:?             'ip.cpoint' (layout( location=0) in 3-element array of 3-component vector of float)
1450:26            Constant:
1460:26              1 (const int)
1470:26        move second child to first child ( temp 3-component vector of float)
1480:26          cpoint: direct index for structure ( temp 3-component vector of float)
1490:26            direct index ( temp structure{ temp 3-component vector of float cpoint})
1500:?               'ip' ( temp 3-element array of structure{ temp 3-component vector of float cpoint})
1510:26              Constant:
1520:26                2 (const int)
1530:26            Constant:
1540:26              0 (const int)
1550:26          direct index (layout( location=0) in 3-component vector of float)
1560:?             'ip.cpoint' (layout( location=0) in 3-element array of 3-component vector of float)
1570:26            Constant:
1580:26              2 (const int)
1590:26      Sequence
1600:26        move second child to first child ( temp 3-component vector of float)
1610:26          indirect index (layout( location=0) out 3-component vector of float)
1620:?             '@entryPointOutput.cpoint' (layout( location=0) out 3-element array of 3-component vector of float)
1630:?             'InvocationId' ( in uint InvocationID)
1640:26          cpoint: direct index for structure ( temp 3-component vector of float)
1650:26            Function Call: @main(struct-VS_OUT-vf31[3]; ( temp structure{ temp 3-component vector of float cpoint})
1660:?               'ip' ( temp 3-element array of structure{ temp 3-component vector of float cpoint})
1670:26            Constant:
1680:26              0 (const int)
1690:?       Barrier ( temp void)
1700:?       Test condition and select ( temp void)
1710:?         Condition
1720:?         Compare Equal ( temp bool)
1730:?           'InvocationId' ( in uint InvocationID)
1740:?           Constant:
1750:?             0 (const int)
1760:?         true case
1770:?         Sequence
1780:?           Function Call: PCF( ( temp void)
1790:33  Function Definition: PCF( ( temp void)
1800:33    Function Parameters:
1810:?   Linker Objects
1820:?     '@entryPointOutput.cpoint' (layout( location=0) out 3-element array of 3-component vector of float)
1830:?     'ip.cpoint' (layout( location=0) in 3-element array of 3-component vector of float)
1840:?     'InvocationId' ( in uint InvocationID)
185
186// Module Version 10000
187// Generated by (magic number): 8000a
188// Id's are bound by 67
189
190                              Capability Tessellation
191               1:             ExtInstImport  "GLSL.std.450"
192                              MemoryModel Logical GLSL450
193                              EntryPoint TessellationControl 4  "main" 34 48 50
194                              ExecutionMode 4 OutputVertices 3
195                              ExecutionMode 4 Triangles
196                              ExecutionMode 4 SpacingFractionalEven
197                              ExecutionMode 4 VertexOrderCcw
198                              Source HLSL 500
199                              Name 4  "main"
200                              Name 8  "VS_OUT"
201                              MemberName 8(VS_OUT) 0  "cpoint"
202                              Name 13  "HS_OUT"
203                              MemberName 13(HS_OUT) 0  "cpoint"
204                              Name 16  "@main(struct-VS_OUT-vf31[3];"
205                              Name 15  "ip"
206                              Name 18  "PCF("
207                              Name 21  "output"
208                              Name 31  "ip"
209                              Name 34  "ip.cpoint"
210                              Name 48  "@entryPointOutput.cpoint"
211                              Name 50  "InvocationId"
212                              Name 52  "param"
213                              Decorate 34(ip.cpoint) Location 0
214                              Decorate 48(@entryPointOutput.cpoint) Location 0
215                              Decorate 50(InvocationId) BuiltIn InvocationId
216               2:             TypeVoid
217               3:             TypeFunction 2
218               6:             TypeFloat 32
219               7:             TypeVector 6(float) 3
220       8(VS_OUT):             TypeStruct 7(fvec3)
221               9:             TypeInt 32 0
222              10:      9(int) Constant 3
223              11:             TypeArray 8(VS_OUT) 10
224              12:             TypePointer Function 11
225      13(HS_OUT):             TypeStruct 7(fvec3)
226              14:             TypeFunction 13(HS_OUT) 12(ptr)
227              20:             TypePointer Function 13(HS_OUT)
228              22:             TypeInt 32 1
229              23:     22(int) Constant 0
230              24:             TypePointer Function 7(fvec3)
231              32:             TypeArray 7(fvec3) 10
232              33:             TypePointer Input 32
233   34(ip.cpoint):     33(ptr) Variable Input
234              35:             TypePointer Input 7(fvec3)
235              39:     22(int) Constant 1
236              43:     22(int) Constant 2
237              47:             TypePointer Output 32
23848(@entryPointOutput.cpoint):     47(ptr) Variable Output
239              49:             TypePointer Input 9(int)
24050(InvocationId):     49(ptr) Variable Input
241              56:             TypePointer Output 7(fvec3)
242              58:      9(int) Constant 2
243              59:      9(int) Constant 4
244              60:      9(int) Constant 0
245              62:             TypeBool
246         4(main):           2 Function None 3
247               5:             Label
248          31(ip):     12(ptr) Variable Function
249       52(param):     12(ptr) Variable Function
250              36:     35(ptr) AccessChain 34(ip.cpoint) 23
251              37:    7(fvec3) Load 36
252              38:     24(ptr) AccessChain 31(ip) 23 23
253                              Store 38 37
254              40:     35(ptr) AccessChain 34(ip.cpoint) 39
255              41:    7(fvec3) Load 40
256              42:     24(ptr) AccessChain 31(ip) 39 23
257                              Store 42 41
258              44:     35(ptr) AccessChain 34(ip.cpoint) 43
259              45:    7(fvec3) Load 44
260              46:     24(ptr) AccessChain 31(ip) 43 23
261                              Store 46 45
262              51:      9(int) Load 50(InvocationId)
263              53:          11 Load 31(ip)
264                              Store 52(param) 53
265              54:  13(HS_OUT) FunctionCall 16(@main(struct-VS_OUT-vf31[3];) 52(param)
266              55:    7(fvec3) CompositeExtract 54 0
267              57:     56(ptr) AccessChain 48(@entryPointOutput.cpoint) 51
268                              Store 57 55
269                              ControlBarrier 58 59 60
270              61:      9(int) Load 50(InvocationId)
271              63:    62(bool) IEqual 61 23
272                              SelectionMerge 65 None
273                              BranchConditional 63 64 65
274              64:               Label
275              66:           2   FunctionCall 18(PCF()
276                                Branch 65
277              65:             Label
278                              Return
279                              FunctionEnd
28016(@main(struct-VS_OUT-vf31[3];):  13(HS_OUT) Function None 14
281          15(ip):     12(ptr) FunctionParameter
282              17:             Label
283      21(output):     20(ptr) Variable Function
284              25:     24(ptr) AccessChain 15(ip) 23 23
285              26:    7(fvec3) Load 25
286              27:     24(ptr) AccessChain 21(output) 23
287                              Store 27 26
288              28:  13(HS_OUT) Load 21(output)
289                              ReturnValue 28
290                              FunctionEnd
291        18(PCF():           2 Function None 3
292              19:             Label
293                              Return
294                              FunctionEnd
295