MCPcopy Create free account
hub / github.com/KhronosGroup/glslang / OpcodeString

Function OpcodeString

SPIRV/doc.cpp:1170–1801  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1168}
1169
1170const char* OpcodeString(int op)
1171{
1172 switch (op) {
1173 case 0: return "OpNop";
1174 case 1: return "OpUndef";
1175 case 2: return "OpSourceContinued";
1176 case 3: return "OpSource";
1177 case 4: return "OpSourceExtension";
1178 case 5: return "OpName";
1179 case 6: return "OpMemberName";
1180 case 7: return "OpString";
1181 case 8: return "OpLine";
1182 case 9: return "Bad";
1183 case 10: return "OpExtension";
1184 case 11: return "OpExtInstImport";
1185 case 12: return "OpExtInst";
1186 case 13: return "Bad";
1187 case 14: return "OpMemoryModel";
1188 case 15: return "OpEntryPoint";
1189 case 16: return "OpExecutionMode";
1190 case 17: return "OpCapability";
1191 case 18: return "Bad";
1192 case 19: return "OpTypeVoid";
1193 case 20: return "OpTypeBool";
1194 case 21: return "OpTypeInt";
1195 case 22: return "OpTypeFloat";
1196 case 23: return "OpTypeVector";
1197 case 24: return "OpTypeMatrix";
1198 case 25: return "OpTypeImage";
1199 case 26: return "OpTypeSampler";
1200 case 27: return "OpTypeSampledImage";
1201 case 28: return "OpTypeArray";
1202 case 29: return "OpTypeRuntimeArray";
1203 case 30: return "OpTypeStruct";
1204 case 31: return "OpTypeOpaque";
1205 case 32: return "OpTypePointer";
1206 case 33: return "OpTypeFunction";
1207 case 34: return "OpTypeEvent";
1208 case 35: return "OpTypeDeviceEvent";
1209 case 36: return "OpTypeReserveId";
1210 case 37: return "OpTypeQueue";
1211 case 38: return "OpTypePipe";
1212 case 39: return "OpTypeForwardPointer";
1213 case 40: return "Bad";
1214 case 41: return "OpConstantTrue";
1215 case 42: return "OpConstantFalse";
1216 case 43: return "OpConstant";
1217 case 44: return "OpConstantComposite";
1218 case 45: return "OpConstantSampler";
1219 case 46: return "OpConstantNull";
1220 case 47: return "Bad";
1221 case 48: return "OpSpecConstantTrue";
1222 case 49: return "OpSpecConstantFalse";
1223 case 50: return "OpSpecConstant";
1224 case 51: return "OpSpecConstantComposite";
1225 case 52: return "OpSpecConstantOp";
1226 case 53: return "Bad";
1227 case 54: return "OpFunction";

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected