radv: add a new debug option called RADV_DEBUG=noshaderballot
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 20 Aug 2019 14:50:56 +0000 (16:50 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 21 Aug 2019 13:14:29 +0000 (15:14 +0200)
Shader ballot will be enabled by default for Wolfenstein
Youngblood. This follows what we did for sisched.

Cc: 19.2 <mesa-stable@lists.freedesktop.org
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_debug.h
src/amd/vulkan/radv_device.c

index ef5b331d188447da9499e0b497f58505b12faf13..1a8b9a42c2064ba1146158d743fd06ff8b4e9d48 100644 (file)
@@ -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 {
index 4aafe6e78aa0c389a3de4d43d96703eb61479cf7..f77430d55be3d7bbac85ea2f575c1c41389f217f 100644 (file)
@@ -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}
 };