194 lines
9.9 KiB
Plaintext
Executable File
194 lines
9.9 KiB
Plaintext
Executable File
hlsl.array.frag
|
|
Shader version: 450
|
|
gl_FragCoord origin is upper left
|
|
0:? Sequence
|
|
0:11 Function Definition: PixelShaderFunction(i1;vf4[3]; (global 4-component vector of float)
|
|
0:8 Function Parameters:
|
|
0:8 'i' (layout(location=0 ) in int)
|
|
0:8 'input' (layout(location=1 ) in 3-element array of 4-component vector of float)
|
|
0:? Sequence
|
|
0:10 Sequence
|
|
0:10 move second child to first child (temp 4-component vector of float)
|
|
0:? '@entryPointOutput' (out 4-component vector of float)
|
|
0:10 add (temp 4-component vector of float)
|
|
0:10 add (temp 4-component vector of float)
|
|
0:10 add (temp 4-component vector of float)
|
|
0:10 add (temp 4-component vector of float)
|
|
0:10 add (temp 4-component vector of float)
|
|
0:10 add (temp 4-component vector of float)
|
|
0:10 direct index (temp 4-component vector of float)
|
|
0:10 'a' (global 4-element array of 4-component vector of float)
|
|
0:10 Constant:
|
|
0:10 1 (const int)
|
|
0:10 indirect index (temp 4-component vector of float)
|
|
0:10 'a' (global 4-element array of 4-component vector of float)
|
|
0:10 'i' (layout(location=0 ) in int)
|
|
0:10 direct index (layout(location=1 ) temp 4-component vector of float)
|
|
0:10 'input' (layout(location=1 ) in 3-element array of 4-component vector of float)
|
|
0:10 Constant:
|
|
0:10 2 (const int)
|
|
0:10 indirect index (layout(location=1 ) temp 4-component vector of float)
|
|
0:10 'input' (layout(location=1 ) in 3-element array of 4-component vector of float)
|
|
0:10 'i' (layout(location=0 ) in int)
|
|
0:10 direct index (temp 4-component vector of float)
|
|
0:10 'b' (temp 10-element array of 4-component vector of float)
|
|
0:10 Constant:
|
|
0:10 5 (const int)
|
|
0:10 indirect index (temp 4-component vector of float)
|
|
0:10 'b' (temp 10-element array of 4-component vector of float)
|
|
0:10 'i' (layout(location=0 ) in int)
|
|
0:10 indirect index (temp 4-component vector of float)
|
|
0:10 m: direct index for structure (temp 7-element array of 4-component vector of float)
|
|
0:10 indirect index (temp structure{temp 7-element array of 4-component vector of float m})
|
|
0:10 's' (global 11-element array of structure{temp 7-element array of 4-component vector of float m})
|
|
0:10 'i' (layout(location=0 ) in int)
|
|
0:10 Constant:
|
|
0:10 0 (const int)
|
|
0:10 'i' (layout(location=0 ) in int)
|
|
0:10 Branch: Return
|
|
0:? Linker Objects
|
|
0:? 'a' (global 4-element array of 4-component vector of float)
|
|
0:? 's' (global 11-element array of structure{temp 7-element array of 4-component vector of float m})
|
|
|
|
|
|
Linked fragment stage:
|
|
|
|
|
|
Shader version: 450
|
|
gl_FragCoord origin is upper left
|
|
0:? Sequence
|
|
0:11 Function Definition: PixelShaderFunction(i1;vf4[3]; (global 4-component vector of float)
|
|
0:8 Function Parameters:
|
|
0:8 'i' (layout(location=0 ) in int)
|
|
0:8 'input' (layout(location=1 ) in 3-element array of 4-component vector of float)
|
|
0:? Sequence
|
|
0:10 Sequence
|
|
0:10 move second child to first child (temp 4-component vector of float)
|
|
0:? '@entryPointOutput' (out 4-component vector of float)
|
|
0:10 add (temp 4-component vector of float)
|
|
0:10 add (temp 4-component vector of float)
|
|
0:10 add (temp 4-component vector of float)
|
|
0:10 add (temp 4-component vector of float)
|
|
0:10 add (temp 4-component vector of float)
|
|
0:10 add (temp 4-component vector of float)
|
|
0:10 direct index (temp 4-component vector of float)
|
|
0:10 'a' (global 4-element array of 4-component vector of float)
|
|
0:10 Constant:
|
|
0:10 1 (const int)
|
|
0:10 indirect index (temp 4-component vector of float)
|
|
0:10 'a' (global 4-element array of 4-component vector of float)
|
|
0:10 'i' (layout(location=0 ) in int)
|
|
0:10 direct index (layout(location=1 ) temp 4-component vector of float)
|
|
0:10 'input' (layout(location=1 ) in 3-element array of 4-component vector of float)
|
|
0:10 Constant:
|
|
0:10 2 (const int)
|
|
0:10 indirect index (layout(location=1 ) temp 4-component vector of float)
|
|
0:10 'input' (layout(location=1 ) in 3-element array of 4-component vector of float)
|
|
0:10 'i' (layout(location=0 ) in int)
|
|
0:10 direct index (temp 4-component vector of float)
|
|
0:10 'b' (temp 10-element array of 4-component vector of float)
|
|
0:10 Constant:
|
|
0:10 5 (const int)
|
|
0:10 indirect index (temp 4-component vector of float)
|
|
0:10 'b' (temp 10-element array of 4-component vector of float)
|
|
0:10 'i' (layout(location=0 ) in int)
|
|
0:10 indirect index (temp 4-component vector of float)
|
|
0:10 m: direct index for structure (temp 7-element array of 4-component vector of float)
|
|
0:10 indirect index (temp structure{temp 7-element array of 4-component vector of float m})
|
|
0:10 's' (global 11-element array of structure{temp 7-element array of 4-component vector of float m})
|
|
0:10 'i' (layout(location=0 ) in int)
|
|
0:10 Constant:
|
|
0:10 0 (const int)
|
|
0:10 'i' (layout(location=0 ) in int)
|
|
0:10 Branch: Return
|
|
0:? Linker Objects
|
|
0:? 'a' (global 4-element array of 4-component vector of float)
|
|
0:? 's' (global 11-element array of structure{temp 7-element array of 4-component vector of float m})
|
|
|
|
// Module Version 10000
|
|
// Generated by (magic number): 80001
|
|
// Id's are bound by 66
|
|
|
|
Capability Shader
|
|
1: ExtInstImport "GLSL.std.450"
|
|
MemoryModel Logical GLSL450
|
|
EntryPoint Fragment 4 "PixelShaderFunction" 9 21 29
|
|
ExecutionMode 4 OriginUpperLeft
|
|
Name 4 "PixelShaderFunction"
|
|
Name 9 "@entryPointOutput"
|
|
Name 14 "a"
|
|
Name 21 "i"
|
|
Name 29 "input"
|
|
Name 42 "b"
|
|
Name 54 ""
|
|
MemberName 54 0 "m"
|
|
Name 58 "s"
|
|
Decorate 21(i) Location 0
|
|
Decorate 29(input) Location 1
|
|
2: TypeVoid
|
|
3: TypeFunction 2
|
|
6: TypeFloat 32
|
|
7: TypeVector 6(float) 4
|
|
8: TypePointer Output 7(fvec4)
|
|
9(@entryPointOutput): 8(ptr) Variable Output
|
|
10: TypeInt 32 0
|
|
11: 10(int) Constant 4
|
|
12: TypeArray 7(fvec4) 11
|
|
13: TypePointer Private 12
|
|
14(a): 13(ptr) Variable Private
|
|
15: TypeInt 32 1
|
|
16: 15(int) Constant 1
|
|
17: TypePointer Private 7(fvec4)
|
|
20: TypePointer Input 15(int)
|
|
21(i): 20(ptr) Variable Input
|
|
26: 10(int) Constant 3
|
|
27: TypeArray 7(fvec4) 26
|
|
28: TypePointer Input 27
|
|
29(input): 28(ptr) Variable Input
|
|
30: 15(int) Constant 2
|
|
31: TypePointer Input 7(fvec4)
|
|
39: 10(int) Constant 10
|
|
40: TypeArray 7(fvec4) 39
|
|
41: TypePointer Function 40
|
|
43: 15(int) Constant 5
|
|
44: TypePointer Function 7(fvec4)
|
|
52: 10(int) Constant 7
|
|
53: TypeArray 7(fvec4) 52
|
|
54: TypeStruct 53
|
|
55: 10(int) Constant 11
|
|
56: TypeArray 54(struct) 55
|
|
57: TypePointer Private 56
|
|
58(s): 57(ptr) Variable Private
|
|
60: 15(int) Constant 0
|
|
4(PixelShaderFunction): 2 Function None 3
|
|
5: Label
|
|
42(b): 41(ptr) Variable Function
|
|
18: 17(ptr) AccessChain 14(a) 16
|
|
19: 7(fvec4) Load 18
|
|
22: 15(int) Load 21(i)
|
|
23: 17(ptr) AccessChain 14(a) 22
|
|
24: 7(fvec4) Load 23
|
|
25: 7(fvec4) FAdd 19 24
|
|
32: 31(ptr) AccessChain 29(input) 30
|
|
33: 7(fvec4) Load 32
|
|
34: 7(fvec4) FAdd 25 33
|
|
35: 15(int) Load 21(i)
|
|
36: 31(ptr) AccessChain 29(input) 35
|
|
37: 7(fvec4) Load 36
|
|
38: 7(fvec4) FAdd 34 37
|
|
45: 44(ptr) AccessChain 42(b) 43
|
|
46: 7(fvec4) Load 45
|
|
47: 7(fvec4) FAdd 38 46
|
|
48: 15(int) Load 21(i)
|
|
49: 44(ptr) AccessChain 42(b) 48
|
|
50: 7(fvec4) Load 49
|
|
51: 7(fvec4) FAdd 47 50
|
|
59: 15(int) Load 21(i)
|
|
61: 15(int) Load 21(i)
|
|
62: 17(ptr) AccessChain 58(s) 59 60 61
|
|
63: 7(fvec4) Load 62
|
|
64: 7(fvec4) FAdd 51 63
|
|
Store 9(@entryPointOutput) 64
|
|
Return
|
|
FunctionEnd
|