| spv.longVectorSpecConst.comp |
| // Module Version 10300 |
| // Generated by (magic number): 8000b |
| // Id's are bound by 164 |
| |
| Capability Shader |
| Capability Float16 |
| Capability StorageUniformBufferBlock16 |
| Capability StorageBuffer8BitAccess |
| Capability LongVectorEXT |
| Capability ReplicatedCompositesEXT |
| Extension "SPV_EXT_long_vector" |
| Extension "SPV_EXT_replicated_composites" |
| Extension "SPV_KHR_8bit_storage" |
| 1: ExtInstImport "GLSL.std.450" |
| MemoryModel Logical GLSL450 |
| EntryPoint GLCompute 4 "main" |
| ExecutionMode 4 LocalSize 64 1 1 |
| Source GLSL 450 |
| SourceExtension "GL_EXT_buffer_reference" |
| SourceExtension "GL_EXT_long_vector" |
| SourceExtension "GL_EXT_nonuniform_qualifier" |
| SourceExtension "GL_EXT_shader_explicit_arithmetic_types" |
| SourceExtension "GL_KHR_memory_scope_semantics" |
| Name 4 "main" |
| Name 8 "c0" |
| Name 13 "foo(f161<s216172782>;" |
| Name 12 "x" |
| Name 18 "v" |
| Name 22 "x" |
| Name 25 "y" |
| Name 28 "v2" |
| Name 34 "v3" |
| Name 35 "x3" |
| Name 40 "y3" |
| Name 45 "v4" |
| Name 50 "v5" |
| Name 53 "v6" |
| Name 78 "f" |
| Name 88 "len" |
| Name 102 "f162" |
| Name 108 "f161" |
| Name 110 "f16" |
| Name 113 "v11" |
| Name 115 "v12" |
| Name 126 "v13" |
| Name 156 "MatrixBuf" |
| MemberName 156(MatrixBuf) 0 "matrixData" |
| Name 158 "matrixBuf" |
| Name 161 "MatrixBuf2" |
| MemberName 161(MatrixBuf2) 0 "matrixData" |
| Name 163 "matrixBuf2" |
| Decorate 8(c0) SpecId 0 |
| Decorate 154 BuiltIn WorkgroupSize |
| Decorate 155 ArrayStride 2 |
| Decorate 156(MatrixBuf) Block |
| MemberDecorate 156(MatrixBuf) 0 Offset 0 |
| Decorate 158(matrixBuf) Binding 0 |
| Decorate 158(matrixBuf) DescriptorSet 0 |
| Decorate 160 ArrayStride 1 |
| Decorate 161(MatrixBuf2) Block |
| MemberDecorate 161(MatrixBuf2) 0 Offset 0 |
| Decorate 163(matrixBuf2) Binding 0 |
| Decorate 163(matrixBuf2) DescriptorSet 0 |
| 2: TypeVoid |
| 3: TypeFunction 2 |
| 6: TypeFloat 16 |
| 7: TypeInt 32 0 |
| 8(c0): 7(int) SpecConstant 0 |
| 9: TypeCooperativeVectorNV 6(float16_t) 8(c0) |
| 10: TypePointer Function 9 |
| 11: TypeFunction 9 10(ptr) |
| 15: TypeFloat 32 |
| 16: TypeCooperativeVectorNV 15(float) 8(c0) |
| 17: TypePointer Function 16 |
| 19: 16 ConstantComposite |
| 20: TypeVector 15(float) 3 |
| 21: TypePointer Function 20(fvec3) |
| 23: 15(float) Constant 1065353216 |
| 24: 20(fvec3) ConstantComposite 23 23 23 |
| 26: 15(float) Constant 1073741824 |
| 27: 20(fvec3) ConstantComposite 26 26 26 |
| 29: 7(int) Constant 0 |
| 30: TypePointer Function 15(float) |
| 36: 15(float) Constant 1082130432 |
| 37: 15(float) Constant 1084227584 |
| 38: 15(float) Constant 1086324736 |
| 39: 20(fvec3) ConstantComposite 36 37 38 |
| 41: 15(float) Constant 1088421888 |
| 42: 15(float) Constant 1090519040 |
| 43: 15(float) Constant 1091567616 |
| 44: 20(fvec3) ConstantComposite 41 42 43 |
| 46: 7(int) Constant 2 |
| 86: TypeInt 32 1 |
| 87: TypePointer Function 86(int) |
| 90: 86(int) Constant 0 |
| 93: 86(int) Constant 4 |
| 103: TypeVector 15(float) 20 |
| 104: 86(int) Constant 20 |
| 109: TypePointer Function 6(float16_t) |
| 151: TypeVector 7(int) 3 |
| 152: 7(int) Constant 64 |
| 153: 7(int) Constant 1 |
| 154: 151(ivec3) ConstantComposite 152 153 153 |
| 155: TypeRuntimeArray 6(float16_t) |
| 156(MatrixBuf): TypeStruct 155 |
| 157: TypePointer StorageBuffer 156(MatrixBuf) |
| 158(matrixBuf): 157(ptr) Variable StorageBuffer |
| 159: TypeInt 8 1 |
| 160: TypeRuntimeArray 159(int8_t) |
| 161(MatrixBuf2): TypeStruct 160 |
| 162: TypePointer StorageBuffer 161(MatrixBuf2) |
| 163(matrixBuf2): 162(ptr) Variable StorageBuffer |
| 4(main): 2 Function None 3 |
| 5: Label |
| 18(v): 17(ptr) Variable Function |
| 22(x): 21(ptr) Variable Function |
| 25(y): 21(ptr) Variable Function |
| 28(v2): 17(ptr) Variable Function |
| 34(v3): 17(ptr) Variable Function |
| 35(x3): 21(ptr) Variable Function |
| 40(y3): 21(ptr) Variable Function |
| 45(v4): 17(ptr) Variable Function |
| 50(v5): 10(ptr) Variable Function |
| 53(v6): 17(ptr) Variable Function |
| 78(f): 30(ptr) Variable Function |
| 88(len): 87(ptr) Variable Function |
| 102(f162): 10(ptr) Variable Function |
| 108(f161): 10(ptr) Variable Function |
| 110(f16): 109(ptr) Variable Function |
| 113(v11): 10(ptr) Variable Function |
| 115(v12): 10(ptr) Variable Function |
| 126(v13): 10(ptr) Variable Function |
| Store 18(v) 19 |
| Store 22(x) 24 |
| Store 25(y) 27 |
| 31: 30(ptr) AccessChain 22(x) 29 |
| 32: 15(float) Load 31 |
| 33: 16 CompositeConstructReplicateEXT 32 |
| Store 28(v2) 33 |
| Store 34(v3) 19 |
| Store 35(x3) 39 |
| Store 40(y3) 44 |
| 47: 30(ptr) AccessChain 35(x3) 46 |
| 48: 15(float) Load 47 |
| 49: 16 CompositeConstructReplicateEXT 48 |
| Store 45(v4) 49 |
| 51: 16 Load 45(v4) |
| 52: 9 FConvert 51 |
| Store 50(v5) 52 |
| 54: 16 Load 18(v) |
| 55: 16 Load 28(v2) |
| 56: 16 FAdd 54 55 |
| Store 53(v6) 56 |
| 57: 16 Load 18(v) |
| 58: 16 Load 28(v2) |
| 59: 16 FSub 57 58 |
| Store 53(v6) 59 |
| 60: 16 Load 18(v) |
| 61: 16 Load 28(v2) |
| 62: 16 FMul 60 61 |
| Store 53(v6) 62 |
| 63: 16 Load 18(v) |
| 64: 16 Load 28(v2) |
| 65: 16 FDiv 63 64 |
| Store 53(v6) 65 |
| 66: 16 Load 18(v) |
| 67: 16 Load 53(v6) |
| 68: 16 FAdd 67 66 |
| Store 53(v6) 68 |
| 69: 16 Load 18(v) |
| 70: 16 Load 53(v6) |
| 71: 16 FSub 70 69 |
| Store 53(v6) 71 |
| 72: 16 Load 18(v) |
| 73: 16 Load 53(v6) |
| 74: 16 FMul 73 72 |
| Store 53(v6) 74 |
| 75: 16 Load 18(v) |
| 76: 16 Load 53(v6) |
| 77: 16 FDiv 76 75 |
| Store 53(v6) 77 |
| 79: 15(float) Load 78(f) |
| 80: 16 Load 53(v6) |
| 81: 16 CompositeConstruct |
| 82: 16 FMul 80 81 |
| Store 53(v6) 82 |
| 83: 16 Load 53(v6) |
| 84: 16 CompositeConstruct |
| 85: 16 FMul 83 84 |
| Store 53(v6) 85 |
| 89: 86(int) Bitcast 8(c0) |
| Store 88(len) 89 |
| 91: 15(float) Load 78(f) |
| 92: 30(ptr) AccessChain 53(v6) 90 |
| Store 92 91 |
| 94: 30(ptr) AccessChain 53(v6) 93 |
| Store 94 37 |
| 95: 16 Load 18(v) |
| 96: 16 Load 18(v) |
| 97: 16 FAdd 96 95 |
| Store 18(v) 97 |
| 98: 15(float) CompositeExtract 97 4 |
| 99: 15(float) Load 78(f) |
| 100: 15(float) FAdd 99 98 |
| Store 78(f) 100 |
| 101: 16 Load 18(v) |
| Store 53(v6) 101 |
| 105: 86(int) Bitcast 104 |
| 106:6(float16_t) ConvertSToF 105 |
| 107: 9 CompositeConstructReplicateEXT 106 |
| Store 102(f162) 107 |
| 111:6(float16_t) Load 110(f16) |
| 112: 9 CompositeConstructReplicateEXT 111 |
| Store 108(f161) 112 |
| 114: 9 Load 113(v11) |
| 116: 9 Load 115(v12) |
| 117: 9 ExtInst 1(GLSL.std.450) 40(FMax) 114 116 |
| Store 113(v11) 117 |
| 118: 9 Load 113(v11) |
| 119: 9 Load 115(v12) |
| 120: 9 ExtInst 1(GLSL.std.450) 37(FMin) 118 119 |
| Store 113(v11) 120 |
| 121: 9 Load 113(v11) |
| 122: 9 Load 115(v12) |
| 123: 9 ExtInst 1(GLSL.std.450) 48(Step) 121 122 |
| Store 113(v11) 123 |
| 124: 9 Load 113(v11) |
| 125: 9 Load 115(v12) |
| 127: 9 Load 126(v13) |
| 128: 9 ExtInst 1(GLSL.std.450) 43(FClamp) 124 125 127 |
| Store 113(v11) 128 |
| 129: 9 Load 113(v11) |
| 130: 9 ExtInst 1(GLSL.std.450) 27(Exp) 129 |
| Store 113(v11) 130 |
| 131: 9 Load 113(v11) |
| 132: 9 ExtInst 1(GLSL.std.450) 28(Log) 131 |
| Store 113(v11) 132 |
| 133: 9 Load 113(v11) |
| 134: 9 ExtInst 1(GLSL.std.450) 21(Tanh) 133 |
| Store 113(v11) 134 |
| 135: 9 Load 113(v11) |
| 136: 9 ExtInst 1(GLSL.std.450) 18(Atan) 135 |
| Store 113(v11) 136 |
| 137: 9 Load 113(v11) |
| 138: 9 Load 115(v12) |
| 139: 9 Load 126(v13) |
| 140: 9 ExtInst 1(GLSL.std.450) 50(Fma) 137 138 139 |
| Store 113(v11) 140 |
| 141: 16 Load 18(v) |
| 142: 16 Load 18(v) |
| 143: 16 FAdd 142 141 |
| Store 18(v) 143 |
| 144: 86(int) Load 88(len) |
| 145: 15(float) VectorExtractDynamic 143 144 |
| 146: 15(float) Load 78(f) |
| 147: 15(float) FAdd 146 145 |
| Store 78(f) 147 |
| Return |
| FunctionEnd |
| 13(foo(f161<s216172782>;): 9 Function None 11 |
| 12(x): 10(ptr) FunctionParameter |
| 14: Label |
| 148: 9 Load 12(x) |
| ReturnValue 148 |
| FunctionEnd |