• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1hlsl.logicalConvert.frag
2Shader version: 500
3gl_FragCoord origin is upper left
40:? Sequence
50:2  Function Definition: @main( ( temp 4-component vector of float)
60:2    Function Parameters:
70:?     Sequence
80:3      Test condition and select ( temp void)
90:3        Condition
100:3        Constant:
110:3          false (const bool)
120:3        true case
130:4        Branch: Return with expression
140:4          Constant:
150:4            0.000000
160:4            0.000000
170:4            0.000000
180:4            0.000000
190:5      Test condition and select ( temp void)
200:5        Condition
210:5        Constant:
220:5          false (const bool)
230:5        true case
240:6        Branch: Return with expression
250:6          Constant:
260:6            0.000000
270:6            0.000000
280:6            0.000000
290:6            0.000000
300:7      Test condition and select ( temp void)
310:7        Condition
320:7        Constant:
330:7          true (const bool)
340:7        true case
350:8        Branch: Return with expression
360:8          Constant:
370:8            0.000000
380:8            0.000000
390:8            0.000000
400:8            0.000000
410:9      Test condition and select ( temp void)
420:9        Condition
430:9        Constant:
440:9          true (const bool)
450:9        true case
460:10        Branch: Return with expression
470:10          Constant:
480:10            0.000000
490:10            0.000000
500:10            0.000000
510:10            0.000000
520:11      Test condition and select ( temp void)
530:11        Condition
540:11        Constant:
550:11          false (const bool)
560:11        true case
570:12        Branch: Return with expression
580:12          Constant:
590:12            0.000000
600:12            0.000000
610:12            0.000000
620:12            0.000000
630:13      Test condition and select ( temp void)
640:13        Condition
650:13        Constant:
660:13          false (const bool)
670:13        true case
680:14        Branch: Return with expression
690:14          Constant:
700:14            0.000000
710:14            0.000000
720:14            0.000000
730:14            0.000000
740:15      Test condition and select ( temp void)
750:15        Condition
760:15        Constant:
770:15          true (const bool)
780:15        true case
790:16        Branch: Return with expression
800:16          Constant:
810:16            0.000000
820:16            0.000000
830:16            0.000000
840:16            0.000000
850:17      Test condition and select ( temp void)
860:17        Condition
870:17        Constant:
880:17          false (const bool)
890:17        true case
900:18        Branch: Return with expression
910:18          Constant:
920:18            0.000000
930:18            0.000000
940:18            0.000000
950:18            0.000000
960:19      Test condition and select ( temp void)
970:19        Condition
980:19        Constant:
990:19          true (const bool)
1000:19        true case
1010:20        Branch: Return with expression
1020:20          Constant:
1030:20            0.000000
1040:20            0.000000
1050:20            0.000000
1060:20            0.000000
1070:21      Test condition and select ( temp void)
1080:21        Condition
1090:21        Constant:
1100:21          true (const bool)
1110:21        true case
1120:22        Branch: Return with expression
1130:22          Constant:
1140:22            0.000000
1150:22            0.000000
1160:22            0.000000
1170:22            0.000000
1180:2  Function Definition: main( ( temp void)
1190:2    Function Parameters:
1200:?     Sequence
1210:2      move second child to first child ( temp 4-component vector of float)
1220:?         '@entryPointOutput' (layout( location=0) out 4-component vector of float)
1230:2        Function Call: @main( ( temp 4-component vector of float)
1240:?   Linker Objects
1250:?     '@entryPointOutput' (layout( location=0) out 4-component vector of float)
126
127
128Linked fragment stage:
129
130
131Shader version: 500
132gl_FragCoord origin is upper left
1330:? Sequence
1340:2  Function Definition: @main( ( temp 4-component vector of float)
1350:2    Function Parameters:
1360:?     Sequence
1370:3      Test condition and select ( temp void)
1380:3        Condition
1390:3        Constant:
1400:3          false (const bool)
1410:3        true case
1420:4        Branch: Return with expression
1430:4          Constant:
1440:4            0.000000
1450:4            0.000000
1460:4            0.000000
1470:4            0.000000
1480:5      Test condition and select ( temp void)
1490:5        Condition
1500:5        Constant:
1510:5          false (const bool)
1520:5        true case
1530:6        Branch: Return with expression
1540:6          Constant:
1550:6            0.000000
1560:6            0.000000
1570:6            0.000000
1580:6            0.000000
1590:7      Test condition and select ( temp void)
1600:7        Condition
1610:7        Constant:
1620:7          true (const bool)
1630:7        true case
1640:8        Branch: Return with expression
1650:8          Constant:
1660:8            0.000000
1670:8            0.000000
1680:8            0.000000
1690:8            0.000000
1700:9      Test condition and select ( temp void)
1710:9        Condition
1720:9        Constant:
1730:9          true (const bool)
1740:9        true case
1750:10        Branch: Return with expression
1760:10          Constant:
1770:10            0.000000
1780:10            0.000000
1790:10            0.000000
1800:10            0.000000
1810:11      Test condition and select ( temp void)
1820:11        Condition
1830:11        Constant:
1840:11          false (const bool)
1850:11        true case
1860:12        Branch: Return with expression
1870:12          Constant:
1880:12            0.000000
1890:12            0.000000
1900:12            0.000000
1910:12            0.000000
1920:13      Test condition and select ( temp void)
1930:13        Condition
1940:13        Constant:
1950:13          false (const bool)
1960:13        true case
1970:14        Branch: Return with expression
1980:14          Constant:
1990:14            0.000000
2000:14            0.000000
2010:14            0.000000
2020:14            0.000000
2030:15      Test condition and select ( temp void)
2040:15        Condition
2050:15        Constant:
2060:15          true (const bool)
2070:15        true case
2080:16        Branch: Return with expression
2090:16          Constant:
2100:16            0.000000
2110:16            0.000000
2120:16            0.000000
2130:16            0.000000
2140:17      Test condition and select ( temp void)
2150:17        Condition
2160:17        Constant:
2170:17          false (const bool)
2180:17        true case
2190:18        Branch: Return with expression
2200:18          Constant:
2210:18            0.000000
2220:18            0.000000
2230:18            0.000000
2240:18            0.000000
2250:19      Test condition and select ( temp void)
2260:19        Condition
2270:19        Constant:
2280:19          true (const bool)
2290:19        true case
2300:20        Branch: Return with expression
2310:20          Constant:
2320:20            0.000000
2330:20            0.000000
2340:20            0.000000
2350:20            0.000000
2360:21      Test condition and select ( temp void)
2370:21        Condition
2380:21        Constant:
2390:21          true (const bool)
2400:21        true case
2410:22        Branch: Return with expression
2420:22          Constant:
2430:22            0.000000
2440:22            0.000000
2450:22            0.000000
2460:22            0.000000
2470:2  Function Definition: main( ( temp void)
2480:2    Function Parameters:
2490:?     Sequence
2500:2      move second child to first child ( temp 4-component vector of float)
2510:?         '@entryPointOutput' (layout( location=0) out 4-component vector of float)
2520:2        Function Call: @main( ( temp 4-component vector of float)
2530:?   Linker Objects
2540:?     '@entryPointOutput' (layout( location=0) out 4-component vector of float)
255
256// Module Version 10000
257// Generated by (magic number): 8000a
258// Id's are bound by 50
259
260                              Capability Shader
261               1:             ExtInstImport  "GLSL.std.450"
262                              MemoryModel Logical GLSL450
263                              EntryPoint Fragment 4  "main" 48
264                              ExecutionMode 4 OriginUpperLeft
265                              Source HLSL 500
266                              Name 4  "main"
267                              Name 9  "@main("
268                              Name 48  "@entryPointOutput"
269                              Decorate 48(@entryPointOutput) Location 0
270               2:             TypeVoid
271               3:             TypeFunction 2
272               6:             TypeFloat 32
273               7:             TypeVector 6(float) 4
274               8:             TypeFunction 7(fvec4)
275              11:             TypeBool
276              12:    11(bool) ConstantFalse
277              15:    6(float) Constant 0
278              16:    7(fvec4) ConstantComposite 15 15 15 15
279              21:    11(bool) ConstantTrue
280              47:             TypePointer Output 7(fvec4)
28148(@entryPointOutput):     47(ptr) Variable Output
282         4(main):           2 Function None 3
283               5:             Label
284              49:    7(fvec4) FunctionCall 9(@main()
285                              Store 48(@entryPointOutput) 49
286                              Return
287                              FunctionEnd
288       9(@main():    7(fvec4) Function None 8
289              10:             Label
290                              SelectionMerge 14 None
291                              BranchConditional 12 13 14
292              13:               Label
293                                ReturnValue 16
294              14:             Label
295                              SelectionMerge 19 None
296                              BranchConditional 12 18 19
297              18:               Label
298                                ReturnValue 16
299              19:             Label
300                              SelectionMerge 23 None
301                              BranchConditional 21 22 23
302              22:               Label
303                                ReturnValue 16
304              23:             Label
305                              SelectionMerge 26 None
306                              BranchConditional 21 25 26
307              25:               Label
308                                ReturnValue 16
309              26:             Label
310                              SelectionMerge 29 None
311                              BranchConditional 12 28 29
312              28:               Label
313                                ReturnValue 16
314              29:             Label
315                              SelectionMerge 32 None
316                              BranchConditional 12 31 32
317              31:               Label
318                                ReturnValue 16
319              32:             Label
320                              SelectionMerge 35 None
321                              BranchConditional 21 34 35
322              34:               Label
323                                ReturnValue 16
324              35:             Label
325                              SelectionMerge 38 None
326                              BranchConditional 12 37 38
327              37:               Label
328                                ReturnValue 16
329              38:             Label
330                              SelectionMerge 41 None
331                              BranchConditional 21 40 41
332              40:               Label
333                                ReturnValue 16
334              41:             Label
335                              SelectionMerge 44 None
336                              BranchConditional 21 43 44
337              43:               Label
338                                ReturnValue 16
339              44:             Label
340              46:    7(fvec4) Undef
341                              ReturnValue 46
342                              FunctionEnd
343