radv: add a debug option for disabling primitive binning
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 14 Nov 2018 16:23:12 +0000 (17:23 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 16 Nov 2018 16:51:12 +0000 (17:51 +0100)
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 9fe4c3b7404f8a6d318aab2c61e02eaf81fc53b0..397d5679610eb58876f0cfaa1a47693e3d1ff160 100644 (file)
@@ -50,6 +50,7 @@ enum {
        RADV_DEBUG_STARTUP           = 0x100000,
        RADV_DEBUG_CHECKIR           = 0x200000,
        RADV_DEBUG_NOTHREADLLVM      = 0x400000,
+       RADV_DEBUG_NOBINNING         = 0x800000,
 };
 
 enum {
index 67238620a26c29a46218d8727ef79c1224b66a11..33ef6867fd05b053ce83f8c2be280e36e69f3cd8 100644 (file)
@@ -451,6 +451,7 @@ static const struct debug_control radv_debug_options[] = {
        {"startup", RADV_DEBUG_STARTUP},
        {"checkir", RADV_DEBUG_CHECKIR},
        {"nothreadllvm", RADV_DEBUG_NOTHREADLLVM},
+       {"nobinning", RADV_DEBUG_NOBINNING},
        {NULL, 0}
 };