radv: use nir_lower_discard_to_demote to work around game bugs
[mesa.git] / src / amd / vulkan / radv_debug.h
index 545eaa51caf78be9b55de69897b2d1a5b0cd605d..979b448c6adc9f4bfc1940e5c273b71678348771 100644 (file)
@@ -56,6 +56,7 @@ enum {
        RADV_DEBUG_ALL_ENTRYPOINTS   = 0x2000000,
        RADV_DEBUG_DUMP_META_SHADERS = 0x4000000,
        RADV_DEBUG_NO_MEMORY_CACHE   = 0x8000000,
+       RADV_DEBUG_DISCARD_TO_DEMOTE = 0x10000000,
 };
 
 enum {