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

Function CapabilityString

SPIRV/doc.cpp:922–1168  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

920}
921
922const char* CapabilityString(int info)
923{
924 switch (info)
925 {
926 case 0: return "Matrix";
927 case 1: return "Shader";
928 case 2: return "Geometry";
929 case 3: return "Tessellation";
930 case 4: return "Addresses";
931 case 5: return "Linkage";
932 case 6: return "Kernel";
933 case 7: return "Vector16";
934 case 8: return "Float16Buffer";
935 case 9: return "Float16";
936 case 10: return "Float64";
937 case 11: return "Int64";
938 case 12: return "Int64Atomics";
939 case 13: return "ImageBasic";
940 case 14: return "ImageReadWrite";
941 case 15: return "ImageMipmap";
942 case 16: return "Bad";
943 case 17: return "Pipes";
944 case 18: return "Groups";
945 case 19: return "DeviceEnqueue";
946 case 20: return "LiteralSampler";
947 case 21: return "AtomicStorage";
948 case 22: return "Int16";
949 case 23: return "TessellationPointSize";
950 case 24: return "GeometryPointSize";
951 case 25: return "ImageGatherExtended";
952 case 26: return "Bad";
953 case 27: return "StorageImageMultisample";
954 case 28: return "UniformBufferArrayDynamicIndexing";
955 case 29: return "SampledImageArrayDynamicIndexing";
956 case 30: return "StorageBufferArrayDynamicIndexing";
957 case 31: return "StorageImageArrayDynamicIndexing";
958 case 32: return "ClipDistance";
959 case 33: return "CullDistance";
960 case 34: return "ImageCubeArray";
961 case 35: return "SampleRateShading";
962 case 36: return "ImageRect";
963 case 37: return "SampledRect";
964 case 38: return "GenericPointer";
965 case 39: return "Int8";
966 case 40: return "InputAttachment";
967 case 41: return "SparseResidency";
968 case 42: return "MinLod";
969 case 43: return "Sampled1D";
970 case 44: return "Image1D";
971 case 45: return "SampledCubeArray";
972 case 46: return "SampledBuffer";
973 case 47: return "ImageBuffer";
974 case 48: return "ImageMSArray";
975 case 49: return "StorageImageExtendedFormats";
976 case 50: return "ImageQuery";
977 case 51: return "DerivativeControl";
978 case 52: return "InterpolationFunction";
979 case 53: return "TransformFeedback";

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected