| 840 | }}; |
| 841 | |
| 842 | static const format_entry* get_format( |
| 843 | unsigned int format |
| 844 | ) { |
| 845 | for (auto& it : ASTC_FORMATS) |
| 846 | { |
| 847 | if (it.format == format) |
| 848 | { |
| 849 | return ⁢ |
| 850 | } |
| 851 | } |
| 852 | return nullptr; |
| 853 | } |
| 854 | |
| 855 | static unsigned int get_format( |
| 856 | unsigned int x, |
no outgoing calls
no test coverage detected