From: Samuel Pitoiset Date: Tue, 20 Aug 2019 14:50:56 +0000 (+0200) Subject: radv: add a new debug option called RADV_DEBUG=noshaderballot X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f202ac27a99caf9009aa9d60e2e0d7f3b528e99f;p=mesa.git 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 --- 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} };