From: Samuel Pitoiset Date: Wed, 14 Nov 2018 16:23:12 +0000 (+0100) Subject: radv: add a debug option for disabling primitive binning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=afd834b62e384f63b712115c1f79659b03828b0c;p=mesa.git radv: add a debug option for disabling primitive binning Signed-off-by: Samuel Pitoiset Reviewed-by: Bas Nieuwenhuizen --- diff --git a/src/amd/vulkan/radv_debug.h b/src/amd/vulkan/radv_debug.h index 9fe4c3b7404..397d5679610 100644 --- a/src/amd/vulkan/radv_debug.h +++ b/src/amd/vulkan/radv_debug.h @@ -50,6 +50,7 @@ enum { RADV_DEBUG_STARTUP = 0x100000, RADV_DEBUG_CHECKIR = 0x200000, RADV_DEBUG_NOTHREADLLVM = 0x400000, + RADV_DEBUG_NOBINNING = 0x800000, }; enum { diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index 67238620a26..33ef6867fd0 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -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} };