| 639 | } |
| 640 | |
| 641 | const char* ImageChannelDataTypeString(int type) |
| 642 | { |
| 643 | switch (type) |
| 644 | { |
| 645 | case 0: return "SnormInt8"; |
| 646 | case 1: return "SnormInt16"; |
| 647 | case 2: return "UnormInt8"; |
| 648 | case 3: return "UnormInt16"; |
| 649 | case 4: return "UnormShort565"; |
| 650 | case 5: return "UnormShort555"; |
| 651 | case 6: return "UnormInt101010"; |
| 652 | case 7: return "SignedInt8"; |
| 653 | case 8: return "SignedInt16"; |
| 654 | case 9: return "SignedInt32"; |
| 655 | case 10: return "UnsignedInt8"; |
| 656 | case 11: return "UnsignedInt16"; |
| 657 | case 12: return "UnsignedInt32"; |
| 658 | case 13: return "HalfFloat"; |
| 659 | case 14: return "Float"; |
| 660 | case 15: return "UnormInt24"; |
| 661 | case 16: return "UnormInt101010_2"; |
| 662 | |
| 663 | default: |
| 664 | return "Bad"; |
| 665 | } |
| 666 | } |
| 667 | |
| 668 | const int ImageOperandsCeiling = 17; |
| 669 |
nothing calls this directly
no outgoing calls
no test coverage detected