| 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' (in int) |
| 0:8 'input' (in 3-element array of 4-component vector of float) |
| 0:? Sequence |
| 0:10 Branch: Return with expression |
| 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' (in int) |
| 0:10 add (temp 4-component vector of float) |
| 0:10 direct index (temp 4-component vector of float) |
| 0:10 'input' (in 3-element array of 4-component vector of float) |
| 0:10 Constant: |
| 0:10 2 (const int) |
| 0:10 indirect index (temp 4-component vector of float) |
| 0:10 'input' (in 3-element array of 4-component vector of float) |
| 0:10 'i' (in int) |
| 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 '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' (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' (in int) |
| 0:10 Constant: |
| 0:10 0 (const int) |
| 0:10 'i' (in int) |
| 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' (in int) |
| 0:8 'input' (in 3-element array of 4-component vector of float) |
| 0:? Sequence |
| 0:10 Branch: Return with expression |
| 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' (in int) |
| 0:10 add (temp 4-component vector of float) |
| 0:10 direct index (temp 4-component vector of float) |
| 0:10 'input' (in 3-element array of 4-component vector of float) |
| 0:10 Constant: |
| 0:10 2 (const int) |
| 0:10 indirect index (temp 4-component vector of float) |
| 0:10 'input' (in 3-element array of 4-component vector of float) |
| 0:10 'i' (in int) |
| 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 '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' (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' (in int) |
| 0:10 Constant: |
| 0:10 0 (const int) |
| 0:10 'i' (in int) |
| 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 64 |
| |
| Capability Shader |
| 1: ExtInstImport "GLSL.std.450" |
| MemoryModel Logical GLSL450 |
| EntryPoint Fragment 4 "PixelShaderFunction" 19 27 |
| ExecutionMode 4 OriginUpperLeft |
| Source HLSL 450 |
| Name 4 "PixelShaderFunction" |
| Name 12 "a" |
| Name 19 "i" |
| Name 27 "input" |
| Name 40 "b" |
| Name 51 "" |
| MemberName 51 0 "m" |
| Name 55 "s" |
| 2: TypeVoid |
| 3: TypeFunction 2 |
| 6: TypeFloat 32 |
| 7: TypeVector 6(float) 4 |
| 8: TypeInt 32 0 |
| 9: 8(int) Constant 4 |
| 10: TypeArray 7(fvec4) 9 |
| 11: TypePointer Private 10 |
| 12(a): 11(ptr) Variable Private |
| 13: TypeInt 32 1 |
| 14: 13(int) Constant 1 |
| 15: TypePointer Private 7(fvec4) |
| 18: TypePointer Input 13(int) |
| 19(i): 18(ptr) Variable Input |
| 24: 8(int) Constant 3 |
| 25: TypeArray 7(fvec4) 24 |
| 26: TypePointer Input 25 |
| 27(input): 26(ptr) Variable Input |
| 28: 13(int) Constant 2 |
| 29: TypePointer Input 7(fvec4) |
| 37: 8(int) Constant 10 |
| 38: TypeArray 7(fvec4) 37 |
| 39: TypePointer Function 38 |
| 41: 13(int) Constant 5 |
| 42: TypePointer Function 7(fvec4) |
| 49: 8(int) Constant 7 |
| 50: TypeArray 7(fvec4) 49 |
| 51: TypeStruct 50 |
| 52: 8(int) Constant 11 |
| 53: TypeArray 51(struct) 52 |
| 54: TypePointer Private 53 |
| 55(s): 54(ptr) Variable Private |
| 57: 13(int) Constant 0 |
| 4(PixelShaderFunction): 2 Function None 3 |
| 5: Label |
| 40(b): 39(ptr) Variable Function |
| 16: 15(ptr) AccessChain 12(a) 14 |
| 17: 7(fvec4) Load 16 |
| 20: 13(int) Load 19(i) |
| 21: 15(ptr) AccessChain 12(a) 20 |
| 22: 7(fvec4) Load 21 |
| 23: 7(fvec4) FAdd 17 22 |
| 30: 29(ptr) AccessChain 27(input) 28 |
| 31: 7(fvec4) Load 30 |
| 32: 13(int) Load 19(i) |
| 33: 29(ptr) AccessChain 27(input) 32 |
| 34: 7(fvec4) Load 33 |
| 35: 7(fvec4) FAdd 31 34 |
| 36: 7(fvec4) FAdd 23 35 |
| 43: 42(ptr) AccessChain 40(b) 41 |
| 44: 7(fvec4) Load 43 |
| 45: 13(int) Load 19(i) |
| 46: 42(ptr) AccessChain 40(b) 45 |
| 47: 7(fvec4) Load 46 |
| 48: 7(fvec4) FAdd 44 47 |
| 56: 13(int) Load 19(i) |
| 58: 13(int) Load 19(i) |
| 59: 15(ptr) AccessChain 55(s) 56 57 58 |
| 60: 7(fvec4) Load 59 |
| 61: 7(fvec4) FAdd 48 60 |
| 62: 7(fvec4) FAdd 36 61 |
| ReturnValue 62 |
| FunctionEnd |