From 13c4a2a6c6041815f9dacdeec073b3dec158ea3a Mon Sep 17 00:00:00 2001 From: eljackjoestar-cmd Date: Tue, 13 Oct 2026 02:38:41 +0400 Subject: [PATCH] fix(agc): preserve main interfaces in the layered rendering rebase --- .../libs/prx/libSceAgcDriver/tests/VertexLayerExport.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/core/libs/prx/libSceAgcDriver/tests/VertexLayerExport.cpp b/core/libs/prx/libSceAgcDriver/tests/VertexLayerExport.cpp index e08e57f8b..27a7785a5 100644 --- a/core/libs/prx/libSceAgcDriver/tests/VertexLayerExport.cpp +++ b/core/libs/prx/libSceAgcDriver/tests/VertexLayerExport.cpp @@ -3,6 +3,7 @@ #include #include #include +#include #include #include @@ -10,7 +11,7 @@ namespace { struct Module { std::vector capabilities; - std::vector extensions; + std::vector extensions; bool layerOutput = false; std::uint32_t version = 0; }; @@ -38,7 +39,7 @@ bool has(const std::vector& values, std::uint32_t value) { return false; } -bool named(const std::vector& values, std::string_view value) { +bool named(const std::vector& values, std::string_view value) { for (const auto entry : values) { if (entry == value) return true; } @@ -48,8 +49,8 @@ bool named(const std::vector& values, std::string_view value) Module recompile(std::uint32_t control, bool layerExtension) { using namespace ShaderRecompiler; static const std::array code{0xf80000cfu, 0x00000000u, 0xf80008dfu, 0x01010101u, 0xbf810000u}; - static const std::array withExtension{1u, 5254u}; - static const std::array without{1u}; + static const std::array withExtension{1u, 32u, 5254u}; + static const std::array without{1u, 32u}; ShaderVertexStageInfo vertex{}; vertex.paClVsOutCntl = control; RecompileRequest request{};