• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1hlsl.float1.frag
2Shader version: 500
3gl_FragCoord origin is upper left
40:? Sequence
50:1  Sequence
60:1    move second child to first child ( temp 1-component vector of float)
70:1      'f1' ( global 1-component vector of float)
80:1      Constant:
90:1        1.000000
100:2  Sequence
110:2    move second child to first child ( temp float)
120:2      'scalar' ( global float)
130:2      Constant:
140:2        2.000000
150:5  Function Definition: ShaderFunction(vf1;f1; ( temp 1-component vector of float)
160:5    Function Parameters:
170:5      'inFloat1' ( in 1-component vector of float)
180:5      'inScalar' ( in float)
190:?     Sequence
200:6      Branch: Return with expression
210:6        add ( temp 1-component vector of float)
220:6          vector-scale ( temp 1-component vector of float)
230:6            'f1' ( global 1-component vector of float)
240:6            'scalar' ( global float)
250:6          vector-scale ( temp 1-component vector of float)
260:6            'inFloat1' ( in 1-component vector of float)
270:6            'inScalar' ( in float)
280:?   Linker Objects
290:?     'f1' ( global 1-component vector of float)
300:?     'scalar' ( global float)
31
32
33Linked fragment stage:
34
35WARNING: Linking fragment stage: Entry point not found
36
37Shader version: 500
38gl_FragCoord origin is upper left
390:? Sequence
400:1  Sequence
410:1    move second child to first child ( temp 1-component vector of float)
420:1      'f1' ( global 1-component vector of float)
430:1      Constant:
440:1        1.000000
450:2  Sequence
460:2    move second child to first child ( temp float)
470:2      'scalar' ( global float)
480:2      Constant:
490:2        2.000000
500:5  Function Definition: ShaderFunction(vf1;f1; ( temp 1-component vector of float)
510:5    Function Parameters:
520:5      'inFloat1' ( in 1-component vector of float)
530:5      'inScalar' ( in float)
540:?     Sequence
550:6      Branch: Return with expression
560:6        add ( temp 1-component vector of float)
570:6          vector-scale ( temp 1-component vector of float)
580:6            'f1' ( global 1-component vector of float)
590:6            'scalar' ( global float)
600:6          vector-scale ( temp 1-component vector of float)
610:6            'inFloat1' ( in 1-component vector of float)
620:6            'inScalar' ( in float)
630:?   Linker Objects
640:?     'f1' ( global 1-component vector of float)
650:?     'scalar' ( global float)
66
67// Module Version 10000
68// Generated by (magic number): 80007
69// Id's are bound by 27
70
71                              Capability Shader
72               1:             ExtInstImport  "GLSL.std.450"
73                              MemoryModel Logical GLSL450
74                              EntryPoint Fragment 4  "PixelShaderFunction"
75                              ExecutionMode 4 OriginUpperLeft
76                              Source HLSL 500
77                              Name 4  "PixelShaderFunction"
78                              Name 11  "ShaderFunction(vf1;f1;"
79                              Name 9  "inFloat1"
80                              Name 10  "inScalar"
81                              Name 14  "f1"
82                              Name 16  "scalar"
83               2:             TypeVoid
84               3:             TypeFunction 2
85               6:             TypeFloat 32
86               7:             TypePointer Function 6(float)
87               8:             TypeFunction 6(float) 7(ptr) 7(ptr)
88              13:             TypePointer Private 6(float)
89          14(f1):     13(ptr) Variable Private
90              15:    6(float) Constant 1065353216
91      16(scalar):     13(ptr) Variable Private
92              17:    6(float) Constant 1073741824
934(PixelShaderFunction):           2 Function None 3
94               5:             Label
95                              Store 14(f1) 15
96                              Store 16(scalar) 17
97                              Return
98                              FunctionEnd
9911(ShaderFunction(vf1;f1;):    6(float) Function None 8
100     9(inFloat1):      7(ptr) FunctionParameter
101    10(inScalar):      7(ptr) FunctionParameter
102              12:             Label
103              18:    6(float) Load 14(f1)
104              19:    6(float) Load 16(scalar)
105              20:    6(float) FMul 18 19
106              21:    6(float) Load 9(inFloat1)
107              22:    6(float) Load 10(inScalar)
108              23:    6(float) FMul 21 22
109              24:    6(float) FAdd 20 23
110                              ReturnValue 24
111                              FunctionEnd
112