Fix: Renderdoc uses incorrect flags

Unit tests passed incorrect flags resulting in renderdoc to not use
debug information when performing step by step debugging.

Pull Request: https://projects.blender.org/blender/blender/pulls/147063
This commit is contained in:
Jeroen Bakker
2025-09-30 16:07:52 +02:00
parent 74b1b95218
commit 2468b3c7dd

View File

@@ -124,7 +124,7 @@ class GPUVulkanTest : public GPUTest {
{
GPUTest::SetUpTestSuite(GHOST_kDrawingContextTypeVulkan,
GPU_BACKEND_VULKAN,
G_DEBUG_GPU | G_DEBUG_GPU_COMPILE_SHADERS | G_DEBUG_GPU_RENDERDOC);
G_DEBUG_GPU | G_DEBUG_GPU_SHADER_DEBUG_INFO | G_DEBUG_GPU_RENDERDOC);
}
static void TearDownTestSuite()
{
@@ -138,7 +138,7 @@ class GPUVulkanWorkaroundsTest : public GPUTest {
{
GPUTest::SetUpTestSuite(GHOST_kDrawingContextTypeVulkan,
GPU_BACKEND_VULKAN,
G_DEBUG_GPU | G_DEBUG_GPU_COMPILE_SHADERS | G_DEBUG_GPU_RENDERDOC |
G_DEBUG_GPU | G_DEBUG_GPU_SHADER_DEBUG_INFO | G_DEBUG_GPU_RENDERDOC |
G_DEBUG_GPU_FORCE_WORKAROUNDS);
}
static void TearDownTestSuite()