mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-01-29 01:38:24 +00:00
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
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:
parent
047a115b3e
commit
f1becb2507
|
@ -260,7 +260,6 @@ void ImageInfo::UpdateSize() {
|
||||||
|
|
||||||
switch (tiling_mode) {
|
switch (tiling_mode) {
|
||||||
case AmdGpu::TilingMode::Display_Linear: {
|
case AmdGpu::TilingMode::Display_Linear: {
|
||||||
ASSERT(!props.is_cube);
|
|
||||||
std::tie(mip_info.pitch, mip_info.size) =
|
std::tie(mip_info.pitch, mip_info.size) =
|
||||||
ImageSizeLinearAligned(mip_w, mip_h, bpp, num_samples);
|
ImageSizeLinearAligned(mip_w, mip_h, bpp, num_samples);
|
||||||
mip_info.height = mip_h;
|
mip_info.height = mip_h;
|
||||||
|
|
Loading…
Reference in a new issue