hot-fix: linear cubemaps check assert removed (verified)
Some checks are pending
Reuse / reuse (push) Waiting to run
Clang Format / clang-format (push) Waiting to run
Linux-Qt / build (push) Waiting to run
Linux / build (push) Waiting to run
macOS-Qt / build (push) Waiting to run
macOS / build (push) Waiting to run
Windows-Qt / build (push) Waiting to run
Windows / build (push) Waiting to run

This commit is contained in:
psucien 2024-09-08 14:18:48 +02:00
parent 047a115b3e
commit f1becb2507

View file

@ -260,7 +260,6 @@ void ImageInfo::UpdateSize() {
switch (tiling_mode) {
case AmdGpu::TilingMode::Display_Linear: {
ASSERT(!props.is_cube);
std::tie(mip_info.pitch, mip_info.size) =
ImageSizeLinearAligned(mip_w, mip_h, bpp, num_samples);
mip_info.height = mip_h;