summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2018-11-14 17:23:12 +0100
committerSamuel Pitoiset <[email protected]>2018-11-16 17:51:12 +0100
commitafd834b62e384f63b712115c1f79659b03828b0c (patch)
tree60fa5543ed735d1a5a47bcec8741bae3678e8a29 /src/amd/vulkan
parentd1a1c21e7621b5177febf191fcd3d3b8ef69dc96 (diff)
radv: add a debug option for disabling primitive binning
Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/amd/vulkan')
-rw-r--r--src/amd/vulkan/radv_debug.h1
-rw-r--r--src/amd/vulkan/radv_device.c1
2 files changed, 2 insertions, 0 deletions
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}
};