1hlsl.promote.vec1.frag
2Shader version: 500
3gl_FragCoord origin is upper left
40:? Sequence
50:3  Function Definition: @main( ( temp 4-component vector of float)
60:3    Function Parameters:
70:?     Sequence
80:7      move second child to first child ( temp float)
90:7        'f1a' ( temp float)
100:7        Construct float ( temp float)
110:7          'f1b' ( temp 1-component vector of float)
120:8      move second child to first child ( temp 1-component vector of float)
130:8        'f1b' ( temp 1-component vector of float)
140:8        Construct float ( temp 1-component vector of float)
150:8          'f1a' ( temp float)
160:11      step ( temp 3-component vector of float)
170:11        Constant:
180:11          0.000000
190:11          0.000000
200:11          0.000000
210:11        'f3' ( temp 3-component vector of float)
220:13      sine ( temp float)
230:13        Construct float ( in float)
240:13          'f1b' ( temp 1-component vector of float)
250:15      Branch: Return with expression
260:?         Constant:
270:?           0.000000
280:?           0.000000
290:?           0.000000
300:?           0.000000
310:3  Function Definition: main( ( temp void)
320:3    Function Parameters:
330:?     Sequence
340:3      move second child to first child ( temp 4-component vector of float)
350:?         '@entryPointOutput' (layout( location=0) out 4-component vector of float)
360:3        Function Call: @main( ( temp 4-component vector of float)
370:?   Linker Objects
380:?     '@entryPointOutput' (layout( location=0) out 4-component vector of float)
39
40
41Linked fragment stage:
42
43
44Shader version: 500
45gl_FragCoord origin is upper left
460:? Sequence
470:3  Function Definition: @main( ( temp 4-component vector of float)
480:3    Function Parameters:
490:?     Sequence
500:7      move second child to first child ( temp float)
510:7        'f1a' ( temp float)
520:7        Construct float ( temp float)
530:7          'f1b' ( temp 1-component vector of float)
540:8      move second child to first child ( temp 1-component vector of float)
550:8        'f1b' ( temp 1-component vector of float)
560:8        Construct float ( temp 1-component vector of float)
570:8          'f1a' ( temp float)
580:11      step ( temp 3-component vector of float)
590:11        Constant:
600:11          0.000000
610:11          0.000000
620:11          0.000000
630:11        'f3' ( temp 3-component vector of float)
640:13      sine ( temp float)
650:13        Construct float ( in float)
660:13          'f1b' ( temp 1-component vector of float)
670:15      Branch: Return with expression
680:?         Constant:
690:?           0.000000
700:?           0.000000
710:?           0.000000
720:?           0.000000
730:3  Function Definition: main( ( temp void)
740:3    Function Parameters:
750:?     Sequence
760:3      move second child to first child ( temp 4-component vector of float)
770:?         '@entryPointOutput' (layout( location=0) out 4-component vector of float)
780:3        Function Call: @main( ( temp 4-component vector of float)
790:?   Linker Objects
800:?     '@entryPointOutput' (layout( location=0) out 4-component vector of float)
81
82// Module Version 10000
83// Generated by (magic number): 80007
84// Id's are bound by 31
85
86                              Capability Shader
87               1:             ExtInstImport  "GLSL.std.450"
88                              MemoryModel Logical GLSL450
89                              EntryPoint Fragment 4  "main" 29
90                              ExecutionMode 4 OriginUpperLeft
91                              Source HLSL 500
92                              Name 4  "main"
93                              Name 9  "@main("
94                              Name 12  "f1a"
95                              Name 13  "f1b"
96                              Name 20  "f3"
97                              Name 29  "@entryPointOutput"
98                              Decorate 29(@entryPointOutput) Location 0
99               2:             TypeVoid
100               3:             TypeFunction 2
101               6:             TypeFloat 32
102               7:             TypeVector 6(float) 4
103               8:             TypeFunction 7(fvec4)
104              11:             TypePointer Function 6(float)
105              16:             TypeVector 6(float) 3
106              17:    6(float) Constant 0
107              18:   16(fvec3) ConstantComposite 17 17 17
108              19:             TypePointer Function 16(fvec3)
109              25:    7(fvec4) ConstantComposite 17 17 17 17
110              28:             TypePointer Output 7(fvec4)
11129(@entryPointOutput):     28(ptr) Variable Output
112         4(main):           2 Function None 3
113               5:             Label
114              30:    7(fvec4) FunctionCall 9(@main()
115                              Store 29(@entryPointOutput) 30
116                              Return
117                              FunctionEnd
118       9(@main():    7(fvec4) Function None 8
119              10:             Label
120         12(f1a):     11(ptr) Variable Function
121         13(f1b):     11(ptr) Variable Function
122          20(f3):     19(ptr) Variable Function
123              14:    6(float) Load 13(f1b)
124                              Store 12(f1a) 14
125              15:    6(float) Load 12(f1a)
126                              Store 13(f1b) 15
127              21:   16(fvec3) Load 20(f3)
128              22:   16(fvec3) ExtInst 1(GLSL.std.450) 48(Step) 18 21
129              23:    6(float) Load 13(f1b)
130              24:    6(float) ExtInst 1(GLSL.std.450) 13(Sin) 23
131                              ReturnValue 25
132                              FunctionEnd
133