From f202ac27a99caf9009aa9d60e2e0d7f3b528e99f Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Tue, 20 Aug 2019 16:50:56 +0200 Subject: [PATCH] radv: add a new debug option called RADV_DEBUG=noshaderballot Shader ballot will be enabled by default for Wolfenstein Youngblood. This follows what we did for sisched. Cc: 19.2 Reviewed-by: Bas Nieuwenhuizen --- src/amd/vulkan/radv_debug.h | 1 + src/amd/vulkan/radv_device.c | 1 + 2 files changed, 2 insertions(+) diff --git a/src/amd/vulkan/radv_debug.h b/src/amd/vulkan/radv_debug.h index ef5b331d188..1a8b9a42c20 100644 --- a/src/amd/vulkan/radv_debug.h +++ b/src/amd/vulkan/radv_debug.h @@ -53,6 +53,7 @@ enum { RADV_DEBUG_NOBINNING = 0x800000, RADV_DEBUG_NO_LOAD_STORE_OPT = 0x1000000, RADV_DEBUG_NO_NGG = 0x2000000, + RADV_DEBUG_NO_SHADER_BALLOT = 0x4000000, }; enum { diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index 4aafe6e78aa..f77430d55be 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -496,6 +496,7 @@ static const struct debug_control radv_debug_options[] = { {"nobinning", RADV_DEBUG_NOBINNING}, {"noloadstoreopt", RADV_DEBUG_NO_LOAD_STORE_OPT}, {"nongg", RADV_DEBUG_NO_NGG}, + {"noshaderballot", RADV_DEBUG_NO_SHADER_BALLOT}, {NULL, 0} }; -- 2.30.2