From afd834b62e384f63b712115c1f79659b03828b0c Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Wed, 14 Nov 2018 17:23:12 +0100 Subject: radv: add a debug option for disabling primitive binning Signed-off-by: Samuel Pitoiset Reviewed-by: Bas Nieuwenhuizen --- src/amd/vulkan/radv_debug.h | 1 + src/amd/vulkan/radv_device.c | 1 + 2 files changed, 2 insertions(+) (limited to 'src/amd') 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} }; -- cgit v1.2.3