From c2d189380c4b70bf359a349aa09569867a74a5d2 Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Thu, 28 Mar 2024 10:34:40 +0100 Subject: [PATCH] radv: remove useless RADV_DEBUG=nomemorycache This is a leftover from the cache changes few months ago. Signed-off-by: Samuel Pitoiset Part-of: --- docs/envvars.rst | 2 -- src/amd/vulkan/radv_debug.h | 51 +++++++++++++++++----------------- src/amd/vulkan/radv_instance.c | 1 - 3 files changed, 25 insertions(+), 29 deletions(-) diff --git a/docs/envvars.rst b/docs/envvars.rst index 85e3836ac24..c2d692b9de3 100644 --- a/docs/envvars.rst +++ b/docs/envvars.rst @@ -1275,8 +1275,6 @@ RADV driver environment variables disable HIZ for depthstencil images ``noibs`` disable directly recording command buffers in GPU-visible memory - ``nomemorycache`` - disable memory shaders cache ``nomeshshader`` disable mesh shader support on GFX10.3+ ``nongg`` diff --git a/src/amd/vulkan/radv_debug.h b/src/amd/vulkan/radv_debug.h index 5dd9a9f20e8..b4f0776593e 100644 --- a/src/amd/vulkan/radv_debug.h +++ b/src/amd/vulkan/radv_debug.h @@ -48,32 +48,31 @@ enum { RADV_DEBUG_NOBINNING = 1ull << 17, RADV_DEBUG_NO_NGG = 1ull << 18, RADV_DEBUG_DUMP_META_SHADERS = 1ull << 19, - RADV_DEBUG_NO_MEMORY_CACHE = 1ull << 20, - RADV_DEBUG_DISCARD_TO_DEMOTE = 1ull << 21, - RADV_DEBUG_LLVM = 1ull << 22, - RADV_DEBUG_FORCE_COMPRESS = 1ull << 23, - RADV_DEBUG_HANG = 1ull << 24, - RADV_DEBUG_IMG = 1ull << 25, - RADV_DEBUG_NO_UMR = 1ull << 26, - RADV_DEBUG_INVARIANT_GEOM = 1ull << 27, - RADV_DEBUG_NO_DISPLAY_DCC = 1ull << 28, - RADV_DEBUG_NO_TC_COMPAT_CMASK = 1ull << 29, - RADV_DEBUG_NO_VRS_FLAT_SHADING = 1ull << 30, - RADV_DEBUG_NO_ATOC_DITHERING = 1ull << 31, - RADV_DEBUG_NO_NGGC = 1ull << 32, - RADV_DEBUG_DUMP_PROLOGS = 1ull << 33, - RADV_DEBUG_NO_DMA_BLIT = 1ull << 34, - RADV_DEBUG_SPLIT_FMA = 1ull << 35, - RADV_DEBUG_DUMP_EPILOGS = 1ull << 36, - RADV_DEBUG_NO_FMASK = 1ull << 37, - RADV_DEBUG_SHADOW_REGS = 1ull << 38, - RADV_DEBUG_EXTRA_MD = 1ull << 39, - RADV_DEBUG_NO_GPL = 1ull << 40, - RADV_DEBUG_VIDEO_ARRAY_PATH = 1ull << 41, - RADV_DEBUG_NO_RT = 1ull << 42, - RADV_DEBUG_NO_MESH_SHADER = 1ull << 43, - RADV_DEBUG_NO_NGG_GS = 1ull << 44, - RADV_DEBUG_NO_GS_FAST_LAUNCH_2 = 1ull << 45, + RADV_DEBUG_DISCARD_TO_DEMOTE = 1ull << 20, + RADV_DEBUG_LLVM = 1ull << 21, + RADV_DEBUG_FORCE_COMPRESS = 1ull << 22, + RADV_DEBUG_HANG = 1ull << 23, + RADV_DEBUG_IMG = 1ull << 24, + RADV_DEBUG_NO_UMR = 1ull << 25, + RADV_DEBUG_INVARIANT_GEOM = 1ull << 26, + RADV_DEBUG_NO_DISPLAY_DCC = 1ull << 27, + RADV_DEBUG_NO_TC_COMPAT_CMASK = 1ull << 28, + RADV_DEBUG_NO_VRS_FLAT_SHADING = 1ull << 29, + RADV_DEBUG_NO_ATOC_DITHERING = 1ull << 30, + RADV_DEBUG_NO_NGGC = 1ull << 31, + RADV_DEBUG_DUMP_PROLOGS = 1ull << 32, + RADV_DEBUG_NO_DMA_BLIT = 1ull << 33, + RADV_DEBUG_SPLIT_FMA = 1ull << 34, + RADV_DEBUG_DUMP_EPILOGS = 1ull << 35, + RADV_DEBUG_NO_FMASK = 1ull << 36, + RADV_DEBUG_SHADOW_REGS = 1ull << 37, + RADV_DEBUG_EXTRA_MD = 1ull << 38, + RADV_DEBUG_NO_GPL = 1ull << 39, + RADV_DEBUG_VIDEO_ARRAY_PATH = 1ull << 40, + RADV_DEBUG_NO_RT = 1ull << 41, + RADV_DEBUG_NO_MESH_SHADER = 1ull << 42, + RADV_DEBUG_NO_NGG_GS = 1ull << 43, + RADV_DEBUG_NO_GS_FAST_LAUNCH_2 = 1ull << 44, }; enum { diff --git a/src/amd/vulkan/radv_instance.c b/src/amd/vulkan/radv_instance.c index bc67613a902..9c8586bb031 100644 --- a/src/amd/vulkan/radv_instance.c +++ b/src/amd/vulkan/radv_instance.c @@ -53,7 +53,6 @@ static const struct debug_control radv_debug_options[] = {{"nofastclears", RADV_ {"nobinning", RADV_DEBUG_NOBINNING}, {"nongg", RADV_DEBUG_NO_NGG}, {"metashaders", RADV_DEBUG_DUMP_META_SHADERS}, - {"nomemorycache", RADV_DEBUG_NO_MEMORY_CACHE}, {"discardtodemote", RADV_DEBUG_DISCARD_TO_DEMOTE}, {"llvm", RADV_DEBUG_LLVM}, {"forcecompress", RADV_DEBUG_FORCE_COMPRESS},