225 lines
7.9 KiB
Plaintext
Executable File
225 lines
7.9 KiB
Plaintext
Executable File
hlsl.init.frag
|
|
Shader version: 450
|
|
gl_FragCoord origin is upper left
|
|
0:? Sequence
|
|
0:1 Sequence
|
|
0:1 move second child to first child (temp 4-component vector of float)
|
|
0:1 'a1' (temp 4-component vector of float)
|
|
0:? Constant:
|
|
0:? 1.000000
|
|
0:? 0.500000
|
|
0:? 0.000000
|
|
0:? 1.000000
|
|
0:1 move second child to first child (temp 4-component vector of float)
|
|
0:1 'b1' (temp 4-component vector of float)
|
|
0:? Constant:
|
|
0:? 2.000000
|
|
0:? 2.500000
|
|
0:? 2.100000
|
|
0:? 2.200000
|
|
0:2 Sequence
|
|
0:2 move second child to first child (temp float)
|
|
0:2 'a2' (temp float)
|
|
0:2 Constant:
|
|
0:2 0.200000
|
|
0:? Sequence
|
|
0:3 move second child to first child (temp float)
|
|
0:3 'b3' (temp float)
|
|
0:3 Constant:
|
|
0:3 0.300000
|
|
0:? Sequence
|
|
0:4 move second child to first child (temp float)
|
|
0:4 'b4' (temp float)
|
|
0:4 Constant:
|
|
0:4 0.400000
|
|
0:5 Sequence
|
|
0:5 move second child to first child (temp float)
|
|
0:5 'a5' (temp float)
|
|
0:5 Constant:
|
|
0:5 0.500000
|
|
0:5 move second child to first child (temp float)
|
|
0:5 'c5' (temp float)
|
|
0:5 Constant:
|
|
0:5 1.500000
|
|
0:13 Function Definition: ShaderFunction(vf4; (temp 4-component vector of float)
|
|
0:8 Function Parameters:
|
|
0:8 'input' (in 4-component vector of float)
|
|
0:? Sequence
|
|
0:9 Sequence
|
|
0:9 move second child to first child (temp 4-component vector of float)
|
|
0:9 'a2' (temp 4-component vector of float)
|
|
0:? Constant:
|
|
0:? 0.200000
|
|
0:? 0.300000
|
|
0:? 0.400000
|
|
0:? 0.500000
|
|
0:11 Branch: Return with expression
|
|
0:11 component-wise multiply (temp 4-component vector of float)
|
|
0:11 'input' (in 4-component vector of float)
|
|
0:11 'a1' (temp 4-component vector of float)
|
|
0:? Linker Objects
|
|
0:? 'a1' (temp 4-component vector of float)
|
|
0:? 'b1' (temp 4-component vector of float)
|
|
0:? 'a2' (temp float)
|
|
0:? 'b2' (temp float)
|
|
0:? 'a3' (temp float)
|
|
0:? 'b3' (temp float)
|
|
0:? 'a4' (temp float)
|
|
0:? 'b4' (temp float)
|
|
0:? 'c4' (temp float)
|
|
0:? 'a5' (temp float)
|
|
0:? 'b5' (temp float)
|
|
0:? 'c5' (temp float)
|
|
|
|
|
|
Linked fragment stage:
|
|
|
|
|
|
Shader version: 450
|
|
gl_FragCoord origin is upper left
|
|
0:? Sequence
|
|
0:1 Sequence
|
|
0:1 move second child to first child (temp 4-component vector of float)
|
|
0:1 'a1' (temp 4-component vector of float)
|
|
0:? Constant:
|
|
0:? 1.000000
|
|
0:? 0.500000
|
|
0:? 0.000000
|
|
0:? 1.000000
|
|
0:1 move second child to first child (temp 4-component vector of float)
|
|
0:1 'b1' (temp 4-component vector of float)
|
|
0:? Constant:
|
|
0:? 2.000000
|
|
0:? 2.500000
|
|
0:? 2.100000
|
|
0:? 2.200000
|
|
0:2 Sequence
|
|
0:2 move second child to first child (temp float)
|
|
0:2 'a2' (temp float)
|
|
0:2 Constant:
|
|
0:2 0.200000
|
|
0:? Sequence
|
|
0:3 move second child to first child (temp float)
|
|
0:3 'b3' (temp float)
|
|
0:3 Constant:
|
|
0:3 0.300000
|
|
0:? Sequence
|
|
0:4 move second child to first child (temp float)
|
|
0:4 'b4' (temp float)
|
|
0:4 Constant:
|
|
0:4 0.400000
|
|
0:5 Sequence
|
|
0:5 move second child to first child (temp float)
|
|
0:5 'a5' (temp float)
|
|
0:5 Constant:
|
|
0:5 0.500000
|
|
0:5 move second child to first child (temp float)
|
|
0:5 'c5' (temp float)
|
|
0:5 Constant:
|
|
0:5 1.500000
|
|
0:13 Function Definition: ShaderFunction(vf4; (temp 4-component vector of float)
|
|
0:8 Function Parameters:
|
|
0:8 'input' (in 4-component vector of float)
|
|
0:? Sequence
|
|
0:9 Sequence
|
|
0:9 move second child to first child (temp 4-component vector of float)
|
|
0:9 'a2' (temp 4-component vector of float)
|
|
0:? Constant:
|
|
0:? 0.200000
|
|
0:? 0.300000
|
|
0:? 0.400000
|
|
0:? 0.500000
|
|
0:11 Branch: Return with expression
|
|
0:11 component-wise multiply (temp 4-component vector of float)
|
|
0:11 'input' (in 4-component vector of float)
|
|
0:11 'a1' (temp 4-component vector of float)
|
|
0:? Linker Objects
|
|
0:? 'a1' (temp 4-component vector of float)
|
|
0:? 'b1' (temp 4-component vector of float)
|
|
0:? 'a2' (temp float)
|
|
0:? 'b2' (temp float)
|
|
0:? 'a3' (temp float)
|
|
0:? 'b3' (temp float)
|
|
0:? 'a4' (temp float)
|
|
0:? 'b4' (temp float)
|
|
0:? 'c4' (temp float)
|
|
0:? 'a5' (temp float)
|
|
0:? 'b5' (temp float)
|
|
0:? 'c5' (temp float)
|
|
|
|
// Module Version 10000
|
|
// Generated by (magic number): 80001
|
|
// Id's are bound by 43
|
|
|
|
Capability Shader
|
|
1: ExtInstImport "GLSL.std.450"
|
|
MemoryModel Logical GLSL450
|
|
EntryPoint Fragment 4 "ShaderFunction" 33
|
|
ExecutionMode 4 OriginUpperLeft
|
|
Source HLSL 450
|
|
Name 4 "ShaderFunction"
|
|
Name 9 "a1"
|
|
Name 14 "b1"
|
|
Name 21 "a2"
|
|
Name 23 "b3"
|
|
Name 25 "b4"
|
|
Name 27 "a5"
|
|
Name 28 "c5"
|
|
Name 30 "a2"
|
|
Name 33 "input"
|
|
Name 38 "b2"
|
|
Name 39 "a3"
|
|
Name 40 "a4"
|
|
Name 41 "c4"
|
|
Name 42 "b5"
|
|
2: TypeVoid
|
|
3: TypeFunction 2
|
|
6: TypeFloat 32
|
|
7: TypeVector 6(float) 4
|
|
8: TypePointer Function 7(fvec4)
|
|
10: 6(float) Constant 1065353216
|
|
11: 6(float) Constant 1056964608
|
|
12: 6(float) Constant 0
|
|
13: 7(fvec4) ConstantComposite 10 11 12 10
|
|
15: 6(float) Constant 1073741824
|
|
16: 6(float) Constant 1075838976
|
|
17: 6(float) Constant 1074161254
|
|
18: 6(float) Constant 1074580685
|
|
19: 7(fvec4) ConstantComposite 15 16 17 18
|
|
20: TypePointer Function 6(float)
|
|
22: 6(float) Constant 1045220557
|
|
24: 6(float) Constant 1050253722
|
|
26: 6(float) Constant 1053609165
|
|
29: 6(float) Constant 1069547520
|
|
31: 7(fvec4) ConstantComposite 22 24 26 11
|
|
32: TypePointer Input 7(fvec4)
|
|
33(input): 32(ptr) Variable Input
|
|
4(ShaderFunction): 2 Function None 3
|
|
5: Label
|
|
9(a1): 8(ptr) Variable Function
|
|
14(b1): 8(ptr) Variable Function
|
|
21(a2): 20(ptr) Variable Function
|
|
23(b3): 20(ptr) Variable Function
|
|
25(b4): 20(ptr) Variable Function
|
|
27(a5): 20(ptr) Variable Function
|
|
28(c5): 20(ptr) Variable Function
|
|
30(a2): 8(ptr) Variable Function
|
|
38(b2): 20(ptr) Variable Function
|
|
39(a3): 20(ptr) Variable Function
|
|
40(a4): 20(ptr) Variable Function
|
|
41(c4): 20(ptr) Variable Function
|
|
42(b5): 20(ptr) Variable Function
|
|
Store 9(a1) 13
|
|
Store 14(b1) 19
|
|
Store 21(a2) 22
|
|
Store 23(b3) 24
|
|
Store 25(b4) 26
|
|
Store 27(a5) 11
|
|
Store 28(c5) 29
|
|
Store 30(a2) 31
|
|
34: 7(fvec4) Load 33(input)
|
|
35: 7(fvec4) Load 9(a1)
|
|
36: 7(fvec4) FMul 34 35
|
|
ReturnValue 36
|
|
FunctionEnd
|