MCPcopy Create free account
hub / github.com/KhronosGroup/KTX-Software / dfdToStringVersionNumber

Function dfdToStringVersionNumber

external/dfdutils/printdfd.c:62–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60}
61
62const char* dfdToStringVersionNumber(khr_df_versionnumber_e value) {
63 switch (value) {
64 case KHR_DF_VERSIONNUMBER_1_1:
65 // case KHR_DF_VERSIONNUMBER_1_0: // Fallthrough, Matching values
66 return "KHR_DF_VERSIONNUMBER_1_1";
67 case KHR_DF_VERSIONNUMBER_1_2:
68 return "KHR_DF_VERSIONNUMBER_1_2";
69 case KHR_DF_VERSIONNUMBER_1_3:
70 return "KHR_DF_VERSIONNUMBER_1_3";
71
72 // case KHR_DF_VERSIONNUMBER_LATEST: // Fallthrough, Matching values
73 case KHR_DF_VERSIONNUMBER_MAX:
74 // These enum values are not meant for string representation. Ignore
75 break;
76 }
77 return NULL;
78}
79
80const char* dfdToStringFlagsBit(uint32_t bit_index, bool bit_value) {
81 switch (bit_index) {

Callers 2

toStringFunction · 0.85
compareDFDMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected