| spv.floatmxint8.comp |
| // Module Version 10600 |
| // Generated by (magic number): 8000b |
| // Id's are bound by 187 |
| |
| Capability Shader |
| Capability Float16 |
| Capability Float64 |
| Capability Int8 |
| Capability MXInt8EXT |
| Capability LongVectorEXT |
| Extension "SPV_EXT_long_vector" |
| Extension "SPV_EXT_ocp_microscaling_types" |
| 1: ExtInstImport "GLSL.std.450" |
| MemoryModel Logical GLSL450 |
| EntryPoint GLCompute 4 "main" 44 186 |
| ExecutionMode 4 LocalSize 1 1 1 |
| Source GLSL 450 |
| SourceExtension "GL_EXT_bfloat16" |
| SourceExtension "GL_EXT_float_mxint8" |
| SourceExtension "GL_EXT_long_vector" |
| SourceExtension "GL_EXT_scalar_block_layout" |
| SourceExtension "GL_EXT_shader_explicit_arithmetic_types" |
| SourceExtension "GL_KHR_cooperative_matrix" |
| SourceExtension "GL_KHR_memory_scope_semantics" |
| SourceExtension "GL_NV_cooperative_matrix2" |
| Name 4 "main" |
| Name 10 "funcfmxint8(fmxint81;" |
| Name 9 "x" |
| Name 17 "f" |
| Name 19 "b" |
| Name 23 "f16" |
| Name 25 "f32" |
| Name 29 "f64" |
| Name 37 "param" |
| Name 42 "B" |
| MemberName 42(B) 0 "b3" |
| MemberName 42(B) 1 "b2" |
| MemberName 42(B) 2 "b1" |
| Name 44 "buf" |
| Name 51 "b2" |
| Name 57 "b3" |
| Name 64 "i8_1" |
| Name 69 "i8_2" |
| Name 74 "i8_3" |
| Name 83 "i8_4" |
| Name 94 "i8_5" |
| Name 106 "u8_1" |
| Name 111 "u8_2" |
| Name 116 "u8_3" |
| Name 125 "u8_4" |
| Name 135 "u8_5" |
| Name 144 "f8_1" |
| Name 147 "f8_2" |
| Name 150 "f8_3" |
| Name 154 "f8_4" |
| Name 158 "f8_5" |
| Name 177 "bsc10" |
| Name 178 "S" |
| MemberName 178(S) 0 "b" |
| Name 186 "bfs" |
| Decorate 42(B) Block |
| MemberDecorate 42(B) 0 Offset 0 |
| MemberDecorate 42(B) 1 Offset 3 |
| MemberDecorate 42(B) 2 Offset 5 |
| Decorate 44(buf) Binding 0 |
| Decorate 44(buf) DescriptorSet 0 |
| Decorate 177(bsc10) SpecId 1 |
| 2: TypeVoid |
| 3: TypeFunction 2 |
| 6: TypeFloat 8 4227 |
| 7: TypePointer Function 6(floatmxint8_t) |
| 8: TypeFunction 6(floatmxint8_t) 7(ptr) |
| 15: TypeFloat 32 |
| 16: TypePointer Function 15(float) |
| 18: 15(float) Constant 1073741824 |
| 20:6(floatmxint8_t) Constant 64 |
| 21: TypeFloat 16 |
| 22: TypePointer Function 21(float16_t) |
| 24:21(float16_t) Constant 18176 |
| 26: 15(float) Constant 1088421888 |
| 27: TypeFloat 64 |
| 28: TypePointer Function 27(float64_t) |
| 30:27(float64_t) Constant 0 1075576832 |
| 40: TypeVector 6(floatmxint8_t) 3 |
| 41: TypeVector 6(floatmxint8_t) 2 |
| 42(B): TypeStruct 40(f8vec3) 41(f8vec2) 6(floatmxint8_t) |
| 43: TypePointer StorageBuffer 42(B) |
| 44(buf): 43(ptr) Variable StorageBuffer |
| 45: TypeInt 32 1 |
| 46: 45(int) Constant 2 |
| 47: TypePointer StorageBuffer 6(floatmxint8_t) |
| 50: TypePointer Function 41(f8vec2) |
| 52: 45(int) Constant 1 |
| 53: TypePointer StorageBuffer 41(f8vec2) |
| 56: TypePointer Function 40(f8vec3) |
| 58: 45(int) Constant 0 |
| 59: TypePointer StorageBuffer 40(f8vec3) |
| 62: TypeInt 8 1 |
| 63: TypePointer Function 62(int8_t) |
| 67: TypeVector 62(int8_t) 2 |
| 68: TypePointer Function 67(i8vec2) |
| 72: TypeVector 62(int8_t) 3 |
| 73: TypePointer Function 72(i8vec3) |
| 81: TypeVector 62(int8_t) 4 |
| 82: TypePointer Function 81(i8vec4) |
| 85: TypeVector 6(floatmxint8_t) 4 |
| 92: TypeVector 62(int8_t) 5 |
| 93: TypePointer Function 92(i8vec) |
| 97: TypeVector 6(floatmxint8_t) 5 |
| 104: TypeInt 8 0 |
| 105: TypePointer Function 104(int8_t) |
| 109: TypeVector 104(int8_t) 2 |
| 110: TypePointer Function 109(i8vec2) |
| 114: TypeVector 104(int8_t) 3 |
| 115: TypePointer Function 114(i8vec3) |
| 123: TypeVector 104(int8_t) 4 |
| 124: TypePointer Function 123(i8vec4) |
| 133: TypeVector 104(int8_t) 5 |
| 134: TypePointer Function 133(i8vec) |
| 153: TypePointer Function 85(f8vec4) |
| 157: TypePointer Function 97(f8vec) |
| 171: TypeInt 32 0 |
| 172: TypeVector 171(int) 3 |
| 173: 171(int) Constant 1 |
| 174: 172(ivec3) ConstantComposite 173 173 173 |
| 175:6(floatmxint8_t) Constant 127 |
| 176: 41(f8vec2) ConstantComposite 175 175 |
| 177(bsc10):6(floatmxint8_t) SpecConstant 127 |
| 178(S): TypeStruct 6(floatmxint8_t) |
| 179: 178(S) ConstantComposite 175 |
| 180: 171(int) Constant 2 |
| 181: TypeArray 6(floatmxint8_t) 180 |
| 182: 181 ConstantComposite 175 175 |
| 183: 171(int) Constant 10 |
| 184: TypeArray 6(floatmxint8_t) 183 |
| 185: TypePointer Workgroup 184 |
| 186(bfs): 185(ptr) Variable Workgroup |
| 4(main): 2 Function None 3 |
| 5: Label |
| 17(f): 16(ptr) Variable Function |
| 19(b): 7(ptr) Variable Function |
| 23(f16): 22(ptr) Variable Function |
| 25(f32): 16(ptr) Variable Function |
| 29(f64): 28(ptr) Variable Function |
| 37(param): 7(ptr) Variable Function |
| 51(b2): 50(ptr) Variable Function |
| 57(b3): 56(ptr) Variable Function |
| 64(i8_1): 63(ptr) Variable Function |
| 69(i8_2): 68(ptr) Variable Function |
| 74(i8_3): 73(ptr) Variable Function |
| 83(i8_4): 82(ptr) Variable Function |
| 94(i8_5): 93(ptr) Variable Function |
| 106(u8_1): 105(ptr) Variable Function |
| 111(u8_2): 110(ptr) Variable Function |
| 116(u8_3): 115(ptr) Variable Function |
| 125(u8_4): 124(ptr) Variable Function |
| 135(u8_5): 134(ptr) Variable Function |
| 144(f8_1): 7(ptr) Variable Function |
| 147(f8_2): 50(ptr) Variable Function |
| 150(f8_3): 56(ptr) Variable Function |
| 154(f8_4): 153(ptr) Variable Function |
| 158(f8_5): 157(ptr) Variable Function |
| Store 17(f) 18 |
| Store 19(b) 20 |
| Store 23(f16) 24 |
| Store 25(f32) 26 |
| Store 29(f64) 30 |
| 31:6(floatmxint8_t) Load 19(b) |
| 32:21(float16_t) FConvert 31 |
| Store 23(f16) 32 |
| 33:6(floatmxint8_t) Load 19(b) |
| 34: 15(float) FConvert 33 |
| Store 25(f32) 34 |
| 35:6(floatmxint8_t) Load 19(b) |
| 36:27(float64_t) FConvert 35 |
| Store 29(f64) 36 |
| 38:6(floatmxint8_t) Load 19(b) |
| Store 37(param) 38 |
| 39:6(floatmxint8_t) FunctionCall 10(funcfmxint8(fmxint81;) 37(param) |
| Store 19(b) 39 |
| 48: 47(ptr) AccessChain 44(buf) 46 |
| 49:6(floatmxint8_t) Load 48 |
| Store 19(b) 49 |
| 54: 53(ptr) AccessChain 44(buf) 52 |
| 55: 41(f8vec2) Load 54 |
| Store 51(b2) 55 |
| 60: 59(ptr) AccessChain 44(buf) 58 |
| 61: 40(f8vec3) Load 60 |
| Store 57(b3) 61 |
| 65:6(floatmxint8_t) Load 19(b) |
| 66: 62(int8_t) Bitcast 65 |
| Store 64(i8_1) 66 |
| 70: 41(f8vec2) Load 51(b2) |
| 71: 67(i8vec2) Bitcast 70 |
| Store 69(i8_2) 71 |
| 75: 41(f8vec2) Load 51(b2) |
| 76:6(floatmxint8_t) Load 19(b) |
| 77:6(floatmxint8_t) CompositeExtract 75 0 |
| 78:6(floatmxint8_t) CompositeExtract 75 1 |
| 79: 40(f8vec3) CompositeConstruct 77 78 76 |
| 80: 72(i8vec3) Bitcast 79 |
| Store 74(i8_3) 80 |
| 84: 41(f8vec2) Load 51(b2) |
| 86:6(floatmxint8_t) CompositeExtract 84 0 |
| 87:6(floatmxint8_t) CompositeExtract 84 1 |
| 88:6(floatmxint8_t) CompositeExtract 84 0 |
| 89:6(floatmxint8_t) CompositeExtract 84 1 |
| 90: 85(f8vec4) CompositeConstruct 86 87 88 89 |
| 91: 81(i8vec4) Bitcast 90 |
| Store 83(i8_4) 91 |
| 95: 41(f8vec2) Load 51(b2) |
| 96:6(floatmxint8_t) Load 19(b) |
| 98:6(floatmxint8_t) CompositeExtract 95 0 |
| 99:6(floatmxint8_t) CompositeExtract 95 1 |
| 100:6(floatmxint8_t) CompositeExtract 95 0 |
| 101:6(floatmxint8_t) CompositeExtract 95 1 |
| 102: 97(f8vec) CompositeConstruct 98 99 100 101 96 |
| 103: 92(i8vec) Bitcast 102 |
| Store 94(i8_5) 103 |
| 107:6(floatmxint8_t) Load 19(b) |
| 108: 104(int8_t) Bitcast 107 |
| Store 106(u8_1) 108 |
| 112: 41(f8vec2) Load 51(b2) |
| 113: 109(i8vec2) Bitcast 112 |
| Store 111(u8_2) 113 |
| 117: 41(f8vec2) Load 51(b2) |
| 118:6(floatmxint8_t) Load 19(b) |
| 119:6(floatmxint8_t) CompositeExtract 117 0 |
| 120:6(floatmxint8_t) CompositeExtract 117 1 |
| 121: 40(f8vec3) CompositeConstruct 119 120 118 |
| 122: 114(i8vec3) Bitcast 121 |
| Store 116(u8_3) 122 |
| 126: 41(f8vec2) Load 51(b2) |
| 127:6(floatmxint8_t) CompositeExtract 126 0 |
| 128:6(floatmxint8_t) CompositeExtract 126 1 |
| 129:6(floatmxint8_t) CompositeExtract 126 0 |
| 130:6(floatmxint8_t) CompositeExtract 126 1 |
| 131: 85(f8vec4) CompositeConstruct 127 128 129 130 |
| 132: 123(i8vec4) Bitcast 131 |
| Store 125(u8_4) 132 |
| 136: 41(f8vec2) Load 51(b2) |
| 137:6(floatmxint8_t) Load 19(b) |
| 138:6(floatmxint8_t) CompositeExtract 136 0 |
| 139:6(floatmxint8_t) CompositeExtract 136 1 |
| 140:6(floatmxint8_t) CompositeExtract 136 0 |
| 141:6(floatmxint8_t) CompositeExtract 136 1 |
| 142: 97(f8vec) CompositeConstruct 138 139 140 141 137 |
| 143: 133(i8vec) Bitcast 142 |
| Store 135(u8_5) 143 |
| 145: 62(int8_t) Load 64(i8_1) |
| 146:6(floatmxint8_t) Bitcast 145 |
| Store 144(f8_1) 146 |
| 148: 67(i8vec2) Load 69(i8_2) |
| 149: 41(f8vec2) Bitcast 148 |
| Store 147(f8_2) 149 |
| 151: 72(i8vec3) Load 74(i8_3) |
| 152: 40(f8vec3) Bitcast 151 |
| Store 150(f8_3) 152 |
| 155: 81(i8vec4) Load 83(i8_4) |
| 156: 85(f8vec4) Bitcast 155 |
| Store 154(f8_4) 156 |
| 159: 92(i8vec) Load 94(i8_5) |
| 160: 97(f8vec) Bitcast 159 |
| Store 158(f8_5) 160 |
| 161: 104(int8_t) Load 106(u8_1) |
| 162:6(floatmxint8_t) Bitcast 161 |
| Store 144(f8_1) 162 |
| 163: 109(i8vec2) Load 111(u8_2) |
| 164: 41(f8vec2) Bitcast 163 |
| Store 147(f8_2) 164 |
| 165: 114(i8vec3) Load 116(u8_3) |
| 166: 40(f8vec3) Bitcast 165 |
| Store 150(f8_3) 166 |
| 167: 123(i8vec4) Load 125(u8_4) |
| 168: 85(f8vec4) Bitcast 167 |
| Store 154(f8_4) 168 |
| 169: 133(i8vec) Load 135(u8_5) |
| 170: 97(f8vec) Bitcast 169 |
| Store 158(f8_5) 170 |
| Return |
| FunctionEnd |
| 10(funcfmxint8(fmxint81;):6(floatmxint8_t) Function None 8 |
| 9(x): 7(ptr) FunctionParameter |
| 11: Label |
| 12:6(floatmxint8_t) Load 9(x) |
| ReturnValue 12 |
| FunctionEnd |