[Refactor] (P13 W5 S8): MOBILEGL_BUILD_RECORD_ARM is folded away - the record arm is unconditional - and retired_switches keeps it from coming back.

This commit is contained in:
2026-10-06 15:03:11 -04:00
parent a0b9ca0772
commit 7fb18840dc
91 changed files with 46 additions and 2725 deletions
@@ -11,9 +11,7 @@
#include <Config.h>
#include <MG_Util/Debug/Log.h>
#if MOBILEGL_BUILD_RECORD_ARM
#include <MG_Backend/DirectVulkan/Renderer/WireDepthResolveProbe.h>
#endif
#include <algorithm>
#include <cstring>
@@ -2479,7 +2477,6 @@ namespace MobileGL::MG_Util::SelfTest {
return findings;
}
#if MOBILEGL_BUILD_RECORD_ARM
Optional<DriverBugFinding> DescribeDepthStencilResolvePassBug(
const MG_Backend::DirectVulkan::WireDepthResolveProbeMeasurement& measurement, Bool shaderStencilExport) {
using namespace MG_Backend::DirectVulkan;
@@ -2546,5 +2543,4 @@ namespace MobileGL::MG_Util::SelfTest {
}
return findings;
}
#endif
} // namespace MobileGL::MG_Util::SelfTest
@@ -9,9 +9,7 @@
#pragma once
#include <Includes.h>
#include <MG_Util/BackendLoaders/OpenGL/Loader.h>
#if MOBILEGL_BUILD_RECORD_ARM
#include <MG_Backend/DirectVulkan/Renderer/WireDepthResolveArm.h>
#endif
namespace MobileGL::MG_Util::SelfTest {
// ===================== KNOWN DRIVER BUGS =====================
@@ -347,7 +345,6 @@ namespace MobileGL::MG_Util::SelfTest {
// so an unaffected device renders an empty section rather than a wall of "not affected".
Vector<DriverBugFinding> CollectGlesKnownDriverBugs(const MG_External::GLESFunctionsTable& gl);
#if MOBILEGL_BUILD_RECORD_ARM
// ===================== KNOWN VULKAN DRIVER BUGS =====================
//
// The DirectVulkan (Magma) backend's table, under the rules above: a control per probe, an
@@ -376,5 +373,4 @@ namespace MobileGL::MG_Util::SelfTest {
// Every known driver bug this Vulkan driver actually has.
Vector<DriverBugFinding> CollectVulkanKnownDriverBugs(const VulkanDriverBugProbeContext& context);
#endif
} // namespace MobileGL::MG_Util::SelfTest
-2
View File
@@ -3028,7 +3028,6 @@ namespace MobileGL::MG_Util::SelfTest {
graphicsQueueFamilyIndex, deviceExtensions, features,
vkGetPhysicalDeviceFeatures2Fn, vkGetPhysicalDeviceProperties2Fn);
#if MOBILEGL_BUILD_RECORD_ARM
// The "Known Driver Bugs" section's Vulkan table (DriverBugProbes.h): each probe makes its
// own throwaway device on the physical device picked above.
{
@@ -3040,7 +3039,6 @@ namespace MobileGL::MG_Util::SelfTest {
bugContext.deviceExtensions = &deviceExtensions;
builder.report.knownDriverBugs = CollectVulkanKnownDriverBugs(bugContext);
}
#endif
if (HasVkExtension(deviceExtensions, VK_KHR_DRAW_INDIRECT_COUNT_EXTENSION_NAME)) {
builder.Pass("VK_KHR_draw_indirect_count",