| 2016 | } |
| 2017 | |
| 2018 | std::vector<uint8_t> convertUINTPacked(const std::unique_ptr<Image>& image, |
| 2019 | uint32_t c0 = 0, uint32_t c1 = 0, uint32_t c2 = 0, uint32_t c3 = 0, |
| 2020 | std::string_view swizzle = "") { |
| 2021 | |
| 2022 | if (!swizzle.empty()) |
| 2023 | image->swizzle(swizzle); |
| 2024 | |
| 2025 | return image->getUINTPacked(c0, c1, c2, c3); |
| 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, |
no test coverage detected