From 5c1e153467a50dec91df49239654017e9ed86d69 Mon Sep 17 00:00:00 2001 From: Rob Clark Date: Sat, 25 Apr 2015 16:30:55 -0400 Subject: [PATCH] freedreno/ir3: dump nocp option No longer used, or even possible, with NIR frontend. Signed-off-by: Rob Clark --- src/gallium/drivers/freedreno/freedreno_screen.c | 1 - src/gallium/drivers/freedreno/freedreno_util.h | 1 - src/gallium/drivers/freedreno/ir3/ir3_cmdline.c | 6 ------ 3 files changed, 8 deletions(-) diff --git a/src/gallium/drivers/freedreno/freedreno_screen.c b/src/gallium/drivers/freedreno/freedreno_screen.c index c9d82563e1c..b3b5462b437 100644 --- a/src/gallium/drivers/freedreno/freedreno_screen.c +++ b/src/gallium/drivers/freedreno/freedreno_screen.c @@ -69,7 +69,6 @@ static const struct debug_named_value debug_options[] = { {"nobin", FD_DBG_NOBIN, "Disable hw binning"}, {"optmsgs", FD_DBG_OPTMSGS,"Enable optimizer debug messages"}, {"glsl120", FD_DBG_GLSL120,"Temporary flag to force GLSL 120 (rather than 130) on a3xx+"}, - {"nocp", FD_DBG_NOCP, "Disable copy-propagation"}, DEBUG_NAMED_VALUE_END }; diff --git a/src/gallium/drivers/freedreno/freedreno_util.h b/src/gallium/drivers/freedreno/freedreno_util.h index 8664e74b335..630c6013ab9 100644 --- a/src/gallium/drivers/freedreno/freedreno_util.h +++ b/src/gallium/drivers/freedreno/freedreno_util.h @@ -64,7 +64,6 @@ enum adreno_stencil_op fd_stencil_op(unsigned op); #define FD_DBG_NOBIN 0x0100 #define FD_DBG_OPTMSGS 0x0400 #define FD_DBG_GLSL120 0x1000 -#define FD_DBG_NOCP 0x2000 extern int fd_mesa_debug; extern bool fd_binning_enabled; diff --git a/src/gallium/drivers/freedreno/ir3/ir3_cmdline.c b/src/gallium/drivers/freedreno/ir3/ir3_cmdline.c index fb5c6513bcb..44493c33c1a 100644 --- a/src/gallium/drivers/freedreno/ir3/ir3_cmdline.c +++ b/src/gallium/drivers/freedreno/ir3/ir3_cmdline.c @@ -280,12 +280,6 @@ int main(int argc, char **argv) continue; } - if (!strcmp(argv[n], "--nocp")) { - fd_mesa_debug |= FD_DBG_NOCP; - n++; - continue; - } - if (!strcmp(argv[n], "--help")) { print_usage(); return 0; -- 2.30.2