| 549 | } |
| 550 | |
| 551 | static void ValidateDestinationImageDesc(const DstImageDescriptor& imageDesc) |
| 552 | { |
| 553 | LLGL_ASSERT_PTR(imageDesc.data); |
| 554 | if (imageDesc.dataSize % GetMemoryFootprint(imageDesc.format, imageDesc.dataType, 1) != 0) |
| 555 | throw std::invalid_argument("destination image data size is not a multiple of the destination data type size"); |
| 556 | } |
| 557 | |
| 558 | static void ValidateImageConversionParams( |
| 559 | const SrcImageDescriptor& srcImageDesc, |
no test coverage detected