Fixed clang

This commit is contained in:
boludoz 2023-09-28 22:58:07 -03:00
parent 1f1c1338ee
commit 5d80c672c8

View file

@ -197,7 +197,8 @@ ImageInfo::ImageInfo(const Maxwell3D::Regs::Zeta& zt, const Maxwell3D::Regs::Zet
type = ImageType::e2D;
if (zt_size.dim_control == Maxwell3D::Regs::ZetaSize::DimensionControl::DefineArraySize) {
resources.layers = zt_size.depth;
// TODO: Problematic downscaling here, check if it is possible add more "filters" for avoid bugs.
// TODO: Problematic downscaling here, check if it is possible add more "filters" for
// avoid bugs.
downscaleable = size.height > DownscaleHeightThresholdTwo;
} else if (zt_size.dim_control ==
Maxwell3D::Regs::ZetaSize::DimensionControl::ArraySizeIsOne) {