Revert "rsx: Downgrade depth-1 3D images to 2D (#11593)"

This reverts commit 6c096b72b5.
This commit is contained in:
kd-11 2022-03-01 20:20:22 +03:00 committed by kd-11
parent 6c096b72b5
commit 00a1864a95
2 changed files with 17 additions and 24 deletions

View file

@ -24,7 +24,6 @@ namespace vk
dim_limit = (info.flags == VK_IMAGE_CREATE_CUBE_COMPATIBLE_BIT) ? gpu_limits.maxImageDimensionCube : gpu_limits.maxImageDimension2D;
break;
case VK_IMAGE_TYPE_3D:
ensure(info.extent.depth > 1);
longest_dim = std::max({ info.extent.width, info.extent.height, info.extent.depth });
dim_limit = gpu_limits.maxImageDimension3D;
break;