| 2026 | } |
| 2027 | |
| 2028 | std::vector<uint8_t> convertSINTPacked(const std::unique_ptr<Image>& image, |
| 2029 | uint32_t c0 = 0, uint32_t c1 = 0, uint32_t c2 = 0, uint32_t c3 = 0, |
| 2030 | std::string_view swizzle = "") { |
| 2031 | |
| 2032 | if (!swizzle.empty()) |
| 2033 | image->swizzle(swizzle); |
| 2034 | |
| 2035 | return image->getSINTPacked(c0, c1, c2, c3); |
| 2036 | } |
| 2037 | |
| 2038 | template <typename T> |
| 2039 | std::vector<uint8_t> convertSINT(const std::unique_ptr<Image>& image, std::string_view swizzle = "") { |
no test coverage detected