radv: replace RADV_GFX12_HIZ_WA by a drirc option

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36174>
This commit is contained in:
Samuel Pitoiset
2025-09-08 18:38:06 +02:00
committed by Marge Bot
parent 0a2ef363a8
commit 5f8f4686bf
5 changed files with 23 additions and 15 deletions
+5
View File
@@ -796,6 +796,11 @@
DRI_CONF_OPT_B(radv_cooperative_matrix2_nv, def, \
"Expose VK_NV_cooperative_matrix2 on supported hardware.")
#define DRI_CONF_RADV_GFX12_HIZ_WA() \
DRI_CONF_OPT_S_NODEF(radv_gfx12_hiz_wa, \
"Choose the specific HiZ workaround to apply on GFX12 (RDNA4). " \
"Accepted values are: disabled, partial or full")
/**
* \brief ANV specific configuration options
*/