blob: 0f7600e0eb3971590c7a22c2126e9343179a77e8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
|
hlsl.float1.frag
Shader version: 500
gl_FragCoord origin is upper left
0:? Sequence
0:1 Sequence
0:1 move second child to first child ( temp 1-component vector of float)
0:1 'f1' ( global 1-component vector of float)
0:1 Constant:
0:1 1.000000
0:2 Sequence
0:2 move second child to first child ( temp float)
0:2 'scalar' ( global float)
0:2 Constant:
0:2 2.000000
0:5 Function Definition: ShaderFunction(vf1;f1; ( temp 1-component vector of float)
0:5 Function Parameters:
0:5 'inFloat1' ( in 1-component vector of float)
0:5 'inScalar' ( in float)
0:? Sequence
0:6 Branch: Return with expression
0:6 add ( temp 1-component vector of float)
0:6 vector-scale ( temp 1-component vector of float)
0:6 'f1' ( global 1-component vector of float)
0:6 'scalar' ( global float)
0:6 vector-scale ( temp 1-component vector of float)
0:6 'inFloat1' ( in 1-component vector of float)
0:6 'inScalar' ( in float)
0:? Linker Objects
0:? 'f1' ( global 1-component vector of float)
0:? 'scalar' ( global float)
Linked fragment stage:
WARNING: Linking fragment stage: Entry point not found
Shader version: 500
gl_FragCoord origin is upper left
0:? Sequence
0:1 Sequence
0:1 move second child to first child ( temp 1-component vector of float)
0:1 'f1' ( global 1-component vector of float)
0:1 Constant:
0:1 1.000000
0:2 Sequence
0:2 move second child to first child ( temp float)
0:2 'scalar' ( global float)
0:2 Constant:
0:2 2.000000
0:5 Function Definition: ShaderFunction(vf1;f1; ( temp 1-component vector of float)
0:5 Function Parameters:
0:5 'inFloat1' ( in 1-component vector of float)
0:5 'inScalar' ( in float)
0:? Sequence
0:6 Branch: Return with expression
0:6 add ( temp 1-component vector of float)
0:6 vector-scale ( temp 1-component vector of float)
0:6 'f1' ( global 1-component vector of float)
0:6 'scalar' ( global float)
0:6 vector-scale ( temp 1-component vector of float)
0:6 'inFloat1' ( in 1-component vector of float)
0:6 'inScalar' ( in float)
0:? Linker Objects
0:? 'f1' ( global 1-component vector of float)
0:? 'scalar' ( global float)
// Module Version 10000
// Generated by (magic number): 80008
// Id's are bound by 27
Capability Shader
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "PixelShaderFunction"
ExecutionMode 4 OriginUpperLeft
Source HLSL 500
Name 4 "PixelShaderFunction"
Name 11 "ShaderFunction(vf1;f1;"
Name 9 "inFloat1"
Name 10 "inScalar"
Name 14 "f1"
Name 16 "scalar"
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
7: TypePointer Function 6(float)
8: TypeFunction 6(float) 7(ptr) 7(ptr)
13: TypePointer Private 6(float)
14(f1): 13(ptr) Variable Private
15: 6(float) Constant 1065353216
16(scalar): 13(ptr) Variable Private
17: 6(float) Constant 1073741824
4(PixelShaderFunction): 2 Function None 3
5: Label
Store 14(f1) 15
Store 16(scalar) 17
Return
FunctionEnd
11(ShaderFunction(vf1;f1;): 6(float) Function None 8
9(inFloat1): 7(ptr) FunctionParameter
10(inScalar): 7(ptr) FunctionParameter
12: Label
18: 6(float) Load 14(f1)
19: 6(float) Load 16(scalar)
20: 6(float) FMul 18 19
21: 6(float) Load 9(inFloat1)
22: 6(float) Load 10(inScalar)
23: 6(float) FMul 21 22
24: 6(float) FAdd 20 23
ReturnValue 24
FunctionEnd
|