Rex Xu | 7a26c17 | 2015-12-08 17:12:09 +0800 | [diff] [blame] | 1 | spv.interpOps.frag
|
| 2 | Warning, version 450 is not yet complete; most version-specific features are present, but some are missing.
|
| 3 |
|
| 4 |
|
| 5 | Linked fragment stage:
|
| 6 |
|
| 7 |
|
| 8 | // Module Version 10000
|
| 9 | // Generated by (magic number): 80001
|
| 10 | // Id's are bound by 101
|
| 11 |
|
| 12 | Capability Shader
|
| 13 | 1: ExtInstImport "GLSL.std.450"
|
| 14 | MemoryModel Logical GLSL450
|
| 15 | EntryPoint Fragment 4 "main" 13 24 33 41 99
|
| 16 | ExecutionMode 4 OriginLowerLeft
|
| 17 | Source GLSL 450
|
| 18 | Name 4 "main"
|
| 19 | Name 9 "f4"
|
| 20 | Name 13 "if1"
|
| 21 | Name 24 "if2"
|
| 22 | Name 33 "if3"
|
| 23 | Name 41 "if4"
|
| 24 | Name 47 "samp"
|
| 25 | Name 73 "offset"
|
| 26 | Name 99 "fragColor"
|
| 27 | 2: TypeVoid
|
| 28 | 3: TypeFunction 2
|
| 29 | 6: TypeFloat 32
|
| 30 | 7: TypeVector 6(float) 4
|
| 31 | 8: TypePointer Function 7(fvec4)
|
| 32 | 10: 6(float) Constant 0
|
| 33 | 11: 7(fvec4) ConstantComposite 10 10 10 10
|
| 34 | 12: TypePointer Input 6(float)
|
| 35 | 13(if1): 12(ptr) Variable Input
|
| 36 | 15: TypeInt 32 0
|
| 37 | 16: 15(int) Constant 0
|
| 38 | 17: TypePointer Function 6(float)
|
| 39 | 22: TypeVector 6(float) 2
|
| 40 | 23: TypePointer Input 22(fvec2)
|
| 41 | 24(if2): 23(ptr) Variable Input
|
| 42 | 31: TypeVector 6(float) 3
|
| 43 | 32: TypePointer Input 31(fvec3)
|
| 44 | 33(if3): 32(ptr) Variable Input
|
| 45 | 40: TypePointer Input 7(fvec4)
|
| 46 | 41(if4): 40(ptr) Variable Input
|
| 47 | 45: TypeInt 32 1
|
| 48 | 46: TypePointer UniformConstant 45(int)
|
| 49 | 47(samp): 46(ptr) Variable UniformConstant
|
| 50 | 72: TypePointer UniformConstant 22(fvec2)
|
| 51 | 73(offset): 72(ptr) Variable UniformConstant
|
| 52 | 98: TypePointer Output 7(fvec4)
|
| 53 | 99(fragColor): 98(ptr) Variable Output
|
| 54 | 4(main): 2 Function None 3
|
| 55 | 5: Label
|
| 56 | 9(f4): 8(ptr) Variable Function
|
| 57 | Store 9(f4) 11
|
| 58 | 14: 6(float) ExtInst 1(GLSL.std.450) 76(InterpolateAtCentroid) 13(if1)
|
| 59 | 18: 17(ptr) AccessChain 9(f4) 16
|
| 60 | 19: 6(float) Load 18
|
| 61 | 20: 6(float) FAdd 19 14
|
| 62 | 21: 17(ptr) AccessChain 9(f4) 16
|
| 63 | Store 21 20
|
| 64 | 25: 22(fvec2) ExtInst 1(GLSL.std.450) 76(InterpolateAtCentroid) 24(if2)
|
| 65 | 26: 7(fvec4) Load 9(f4)
|
| 66 | 27: 22(fvec2) VectorShuffle 26 26 0 1
|
| 67 | 28: 22(fvec2) FAdd 27 25
|
| 68 | 29: 7(fvec4) Load 9(f4)
|
| 69 | 30: 7(fvec4) VectorShuffle 29 28 4 5 2 3
|
| 70 | Store 9(f4) 30
|
| 71 | 34: 31(fvec3) ExtInst 1(GLSL.std.450) 76(InterpolateAtCentroid) 33(if3)
|
| 72 | 35: 7(fvec4) Load 9(f4)
|
| 73 | 36: 31(fvec3) VectorShuffle 35 35 0 1 2
|
| 74 | 37: 31(fvec3) FAdd 36 34
|
| 75 | 38: 7(fvec4) Load 9(f4)
|
| 76 | 39: 7(fvec4) VectorShuffle 38 37 4 5 6 3
|
| 77 | Store 9(f4) 39
|
| 78 | 42: 7(fvec4) ExtInst 1(GLSL.std.450) 76(InterpolateAtCentroid) 41(if4)
|
| 79 | 43: 7(fvec4) Load 9(f4)
|
| 80 | 44: 7(fvec4) FAdd 43 42
|
| 81 | Store 9(f4) 44
|
| 82 | 48: 45(int) Load 47(samp)
|
| 83 | 49: 6(float) ExtInst 1(GLSL.std.450) 77(InterpolateAtSample) 13(if1) 48
|
| 84 | 50: 17(ptr) AccessChain 9(f4) 16
|
| 85 | 51: 6(float) Load 50
|
| 86 | 52: 6(float) FAdd 51 49
|
| 87 | 53: 17(ptr) AccessChain 9(f4) 16
|
| 88 | Store 53 52
|
| 89 | 54: 45(int) Load 47(samp)
|
| 90 | 55: 22(fvec2) ExtInst 1(GLSL.std.450) 77(InterpolateAtSample) 24(if2) 54
|
| 91 | 56: 7(fvec4) Load 9(f4)
|
| 92 | 57: 22(fvec2) VectorShuffle 56 56 0 1
|
| 93 | 58: 22(fvec2) FAdd 57 55
|
| 94 | 59: 7(fvec4) Load 9(f4)
|
| 95 | 60: 7(fvec4) VectorShuffle 59 58 4 5 2 3
|
| 96 | Store 9(f4) 60
|
| 97 | 61: 45(int) Load 47(samp)
|
| 98 | 62: 31(fvec3) ExtInst 1(GLSL.std.450) 77(InterpolateAtSample) 33(if3) 61
|
| 99 | 63: 7(fvec4) Load 9(f4)
|
| 100 | 64: 31(fvec3) VectorShuffle 63 63 0 1 2
|
| 101 | 65: 31(fvec3) FAdd 64 62
|
| 102 | 66: 7(fvec4) Load 9(f4)
|
| 103 | 67: 7(fvec4) VectorShuffle 66 65 4 5 6 3
|
| 104 | Store 9(f4) 67
|
| 105 | 68: 45(int) Load 47(samp)
|
| 106 | 69: 7(fvec4) ExtInst 1(GLSL.std.450) 77(InterpolateAtSample) 41(if4) 68
|
| 107 | 70: 7(fvec4) Load 9(f4)
|
| 108 | 71: 7(fvec4) FAdd 70 69
|
| 109 | Store 9(f4) 71
|
| 110 | 74: 22(fvec2) Load 73(offset)
|
| 111 | 75: 6(float) ExtInst 1(GLSL.std.450) 78(InterpolateAtOffset) 13(if1) 74
|
| 112 | 76: 17(ptr) AccessChain 9(f4) 16
|
| 113 | 77: 6(float) Load 76
|
| 114 | 78: 6(float) FAdd 77 75
|
| 115 | 79: 17(ptr) AccessChain 9(f4) 16
|
| 116 | Store 79 78
|
| 117 | 80: 22(fvec2) Load 73(offset)
|
| 118 | 81: 22(fvec2) ExtInst 1(GLSL.std.450) 78(InterpolateAtOffset) 24(if2) 80
|
| 119 | 82: 7(fvec4) Load 9(f4)
|
| 120 | 83: 22(fvec2) VectorShuffle 82 82 0 1
|
| 121 | 84: 22(fvec2) FAdd 83 81
|
| 122 | 85: 7(fvec4) Load 9(f4)
|
| 123 | 86: 7(fvec4) VectorShuffle 85 84 4 5 2 3
|
| 124 | Store 9(f4) 86
|
| 125 | 87: 22(fvec2) Load 73(offset)
|
| 126 | 88: 31(fvec3) ExtInst 1(GLSL.std.450) 78(InterpolateAtOffset) 33(if3) 87
|
| 127 | 89: 7(fvec4) Load 9(f4)
|
| 128 | 90: 31(fvec3) VectorShuffle 89 89 0 1 2
|
| 129 | 91: 31(fvec3) FAdd 90 88
|
| 130 | 92: 7(fvec4) Load 9(f4)
|
| 131 | 93: 7(fvec4) VectorShuffle 92 91 4 5 6 3
|
| 132 | Store 9(f4) 93
|
| 133 | 94: 22(fvec2) Load 73(offset)
|
| 134 | 95: 7(fvec4) ExtInst 1(GLSL.std.450) 78(InterpolateAtOffset) 41(if4) 94
|
| 135 | 96: 7(fvec4) Load 9(f4)
|
| 136 | 97: 7(fvec4) FAdd 96 95
|
| 137 | Store 9(f4) 97
|
| 138 | 100: 7(fvec4) Load 9(f4)
|
| 139 | Store 99(fragColor) 100
|
| 140 | Return
|
| 141 | FunctionEnd
|