John Kessenich | cc16fa0 | 2015-12-10 18:01:54 -0700 | [diff] [blame^] | 1 | spv.varyingArrayIndirect.frag |
| 2 | WARNING: 0:3: varying deprecated in version 130; may be removed in future release |
| 3 | WARNING: 0:4: varying deprecated in version 130; may be removed in future release |
| 4 | WARNING: 0:6: varying deprecated in version 130; may be removed in future release |
| 5 | WARNING: 0:8: varying deprecated in version 130; may be removed in future release |
| 6 | |
| 7 | |
| 8 | Linked fragment stage: |
| 9 | |
| 10 | |
| 11 | // Module Version 10000 |
| 12 | // Generated by (magic number): 80001 |
| 13 | // Id's are bound by 70 |
| 14 | |
| 15 | Capability Shader |
| 16 | 1: ExtInstImport "GLSL.std.450" |
| 17 | MemoryModel Logical GLSL450 |
| 18 | EntryPoint Fragment 4 "main" 45 50 30 30 19 |
| 19 | ExecutionMode 4 OriginLowerLeft |
| 20 | Source GLSL 130 |
| 21 | Name 4 "main" |
| 22 | Name 9 "texColor" |
| 23 | Name 13 "texSampler2D" |
| 24 | Name 19 "userIn" |
| 25 | Name 22 "b" |
| 26 | Name 30 "gl_TexCoord" |
| 27 | Name 31 "a" |
| 28 | Name 45 "color" |
| 29 | Name 50 "alpha" |
| 30 | Name 56 "gl_FragColor" |
| 31 | 2: TypeVoid |
| 32 | 3: TypeFunction 2 |
| 33 | 6: TypeFloat 32 |
| 34 | 7: TypeVector 6(float) 4 |
| 35 | 8: TypePointer Function 7(fvec4) |
| 36 | 10: TypeImage 6(float) 2D sampled format:Unknown |
| 37 | 11: TypeSampledImage 10 |
| 38 | 12: TypePointer UniformConstant 11 |
| 39 | 13(texSampler2D): 12(ptr) Variable UniformConstant |
| 40 | 15: TypeInt 32 0 |
| 41 | 16: 15(int) Constant 2 |
| 42 | 17: TypeArray 7(fvec4) 16 |
| 43 | 18: TypePointer Input 17 |
| 44 | 19(userIn): 18(ptr) Variable Input |
| 45 | 20: TypeInt 32 1 |
| 46 | 21: TypePointer UniformConstant 20(int) |
| 47 | 22(b): 21(ptr) Variable UniformConstant |
| 48 | 24: TypePointer Input 7(fvec4) |
| 49 | 27: 15(int) Constant 6 |
| 50 | 28: TypeArray 7(fvec4) 27 |
| 51 | 29: TypePointer Input 28 |
| 52 | 30(gl_TexCoord): 29(ptr) Variable Input |
| 53 | 31(a): 21(ptr) Variable UniformConstant |
| 54 | 36: 20(int) Constant 5 |
| 55 | 40: TypeVector 6(float) 2 |
| 56 | 45(color): 24(ptr) Variable Input |
| 57 | 49: TypePointer Input 6(float) |
| 58 | 50(alpha): 49(ptr) Variable Input |
| 59 | 52: 15(int) Constant 3 |
| 60 | 53: TypePointer Function 6(float) |
| 61 | 55: TypePointer Output 7(fvec4) |
| 62 | 56(gl_FragColor): 55(ptr) Variable Output |
| 63 | 57: 20(int) Constant 0 |
| 64 | 4(main): 2 Function None 3 |
| 65 | 5: Label |
| 66 | 9(texColor): 8(ptr) Variable Function |
| 67 | 14: 11 Load 13(texSampler2D) |
| 68 | 23: 20(int) Load 22(b) |
| 69 | 25: 24(ptr) AccessChain 19(userIn) 23 |
| 70 | 26: 7(fvec4) Load 25 |
| 71 | 32: 20(int) Load 31(a) |
| 72 | 33: 24(ptr) AccessChain 30(gl_TexCoord) 32 |
| 73 | 34: 7(fvec4) Load 33 |
| 74 | 35: 7(fvec4) FAdd 26 34 |
| 75 | 37: 24(ptr) AccessChain 30(gl_TexCoord) 36 |
| 76 | 38: 7(fvec4) Load 37 |
| 77 | 39: 7(fvec4) FAdd 35 38 |
| 78 | 41: 6(float) CompositeExtract 39 0 |
| 79 | 42: 6(float) CompositeExtract 39 1 |
| 80 | 43: 40(fvec2) CompositeConstruct 41 42 |
| 81 | 44: 7(fvec4) ImageSampleImplicitLod 14 43 |
| 82 | Store 9(texColor) 44 |
| 83 | 46: 7(fvec4) Load 45(color) |
| 84 | 47: 7(fvec4) Load 9(texColor) |
| 85 | 48: 7(fvec4) FAdd 47 46 |
| 86 | Store 9(texColor) 48 |
| 87 | 51: 6(float) Load 50(alpha) |
| 88 | 54: 53(ptr) AccessChain 9(texColor) 52 |
| 89 | Store 54 51 |
| 90 | 58: 24(ptr) AccessChain 30(gl_TexCoord) 57 |
| 91 | 59: 7(fvec4) Load 58 |
| 92 | 60: 20(int) Load 22(b) |
| 93 | 61: 24(ptr) AccessChain 30(gl_TexCoord) 60 |
| 94 | 62: 7(fvec4) Load 61 |
| 95 | 63: 7(fvec4) FAdd 59 62 |
| 96 | 64: 7(fvec4) Load 9(texColor) |
| 97 | 65: 7(fvec4) FAdd 63 64 |
| 98 | 66: 20(int) Load 31(a) |
| 99 | 67: 24(ptr) AccessChain 19(userIn) 66 |
| 100 | 68: 7(fvec4) Load 67 |
| 101 | 69: 7(fvec4) FAdd 65 68 |
| 102 | Store 56(gl_FragColor) 69 |
| 103 | Return |
| 104 | FunctionEnd |