From ededc2eb653be57b5d3f2235b4fbc2ecc5685a73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A0=20Franch?= Date: Wed, 14 Oct 2026 20:01:37 +0200 Subject: [PATCH] test(agc): drop the refusal cases main's relaxed geometry check no longer produces --- .../tests/execution/DepthPlaneGuestLayers.cpp | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/core/libs/prx/libSceAgcDriver/tests/execution/DepthPlaneGuestLayers.cpp b/core/libs/prx/libSceAgcDriver/tests/execution/DepthPlaneGuestLayers.cpp index e411ce0f3f..cdb94c5363 100644 --- a/core/libs/prx/libSceAgcDriver/tests/execution/DepthPlaneGuestLayers.cpp +++ b/core/libs/prx/libSceAgcDriver/tests/execution/DepthPlaneGuestLayers.cpp @@ -28,7 +28,6 @@ #include #include #include -#include #include namespace { @@ -346,19 +345,6 @@ void RunCubeGather(const Context& base, const WatchedBlock& block) { throw std::runtime_error("sampling a cube over six depth surfaces recorded " + std::to_string(imageToBufferCopies.load()) + " depth surface copies and " + std::to_string(bufferToImageCopies.load()) + " plane copy fills, expected 6 and 1"); } ClearDepthSurfaces(context.device); - const auto refused = [&](const GuestTextureResource& cube) { - try { - DepthSurfaceTexture(context, {}, cube, components); - } catch (const std::runtime_error& error) { - return std::string_view(error.what()).find("depth plane copy geometry does not match its layers") != std::string_view::npos; - } - return false; - }; - for (std::uint32_t layer = 0; layer < 5; ++layer) { - DepthSurfaceView(context, DepthTarget{address + geometry.GuestLayerOffset(layer), 0, {Side, Side}, VK_FORMAT_D32_SFLOAT, 1.0f, 0, 0}); - } - Require(refused(resource), "a cube whose descriptor stride does not match one host depth slice and that is missing a face must be refused"); - ClearDepthSurfaces(context.device); } void RunCubeTiledSlice(const Context& base, const WatchedBlock& block) {