• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1hlsl.sin.frag
2Shader version: 500
3gl_FragCoord origin is upper left
40:? Sequence
50:2  Function Definition: @PixelShaderFunction(vf4; ( temp 4-component vector of float)
60:2    Function Parameters:
70:2      'input' ( in 4-component vector of float)
80:?     Sequence
90:3      Branch: Return with expression
100:3        sine ( temp 4-component vector of float)
110:3          'input' ( in 4-component vector of float)
120:2  Function Definition: PixelShaderFunction( ( temp void)
130:2    Function Parameters:
140:?     Sequence
150:2      move second child to first child ( temp 4-component vector of float)
160:?         'input' ( temp 4-component vector of float)
170:?         'input' (layout( location=0) in 4-component vector of float)
180:2      move second child to first child ( temp 4-component vector of float)
190:?         '@entryPointOutput' (layout( location=0) out 4-component vector of float)
200:2        Function Call: @PixelShaderFunction(vf4; ( temp 4-component vector of float)
210:?           'input' ( temp 4-component vector of float)
220:?   Linker Objects
230:?     '@entryPointOutput' (layout( location=0) out 4-component vector of float)
240:?     'input' (layout( location=0) in 4-component vector of float)
25
26
27Linked fragment stage:
28
29
30Shader version: 500
31gl_FragCoord origin is upper left
320:? Sequence
330:2  Function Definition: @PixelShaderFunction(vf4; ( temp 4-component vector of float)
340:2    Function Parameters:
350:2      'input' ( in 4-component vector of float)
360:?     Sequence
370:3      Branch: Return with expression
380:3        sine ( temp 4-component vector of float)
390:3          'input' ( in 4-component vector of float)
400:2  Function Definition: PixelShaderFunction( ( temp void)
410:2    Function Parameters:
420:?     Sequence
430:2      move second child to first child ( temp 4-component vector of float)
440:?         'input' ( temp 4-component vector of float)
450:?         'input' (layout( location=0) in 4-component vector of float)
460:2      move second child to first child ( temp 4-component vector of float)
470:?         '@entryPointOutput' (layout( location=0) out 4-component vector of float)
480:2        Function Call: @PixelShaderFunction(vf4; ( temp 4-component vector of float)
490:?           'input' ( temp 4-component vector of float)
500:?   Linker Objects
510:?     '@entryPointOutput' (layout( location=0) out 4-component vector of float)
520:?     'input' (layout( location=0) in 4-component vector of float)
53
54// Module Version 10000
55// Generated by (magic number): 8000a
56// Id's are bound by 26
57
58                              Capability Shader
59               1:             ExtInstImport  "GLSL.std.450"
60                              MemoryModel Logical GLSL450
61                              EntryPoint Fragment 4  "PixelShaderFunction" 19 22
62                              ExecutionMode 4 OriginUpperLeft
63                              Source HLSL 500
64                              Name 4  "PixelShaderFunction"
65                              Name 11  "@PixelShaderFunction(vf4;"
66                              Name 10  "input"
67                              Name 17  "input"
68                              Name 19  "input"
69                              Name 22  "@entryPointOutput"
70                              Name 23  "param"
71                              Decorate 19(input) Location 0
72                              Decorate 22(@entryPointOutput) Location 0
73               2:             TypeVoid
74               3:             TypeFunction 2
75               6:             TypeFloat 32
76               7:             TypeVector 6(float) 4
77               8:             TypePointer Function 7(fvec4)
78               9:             TypeFunction 7(fvec4) 8(ptr)
79              18:             TypePointer Input 7(fvec4)
80       19(input):     18(ptr) Variable Input
81              21:             TypePointer Output 7(fvec4)
8222(@entryPointOutput):     21(ptr) Variable Output
834(PixelShaderFunction):           2 Function None 3
84               5:             Label
85       17(input):      8(ptr) Variable Function
86       23(param):      8(ptr) Variable Function
87              20:    7(fvec4) Load 19(input)
88                              Store 17(input) 20
89              24:    7(fvec4) Load 17(input)
90                              Store 23(param) 24
91              25:    7(fvec4) FunctionCall 11(@PixelShaderFunction(vf4;) 23(param)
92                              Store 22(@entryPointOutput) 25
93                              Return
94                              FunctionEnd
9511(@PixelShaderFunction(vf4;):    7(fvec4) Function None 9
96       10(input):      8(ptr) FunctionParameter
97              12:             Label
98              13:    7(fvec4) Load 10(input)
99              14:    7(fvec4) ExtInst 1(GLSL.std.450) 13(Sin) 13
100                              ReturnValue 14
101                              FunctionEnd
102