From: Marek Olšák Date: Fri, 9 Feb 2018 00:47:26 +0000 (+0100) Subject: radeonsi: copy the NIR enablement debug bit to the shader cache flags X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=12fd567c78c66b136b5c67782be754790951a560;p=mesa.git radeonsi: copy the NIR enablement debug bit to the shader cache flags When NIR is enabled, TGSI must not be used. When NIR is disabled, TGSI Tested-by: Dieter Nützel Reviewed-by: Timothy Arceri --- diff --git a/src/gallium/drivers/radeonsi/si_pipe.c b/src/gallium/drivers/radeonsi/si_pipe.c index 26835d673dc..97f11ea6879 100644 --- a/src/gallium/drivers/radeonsi/si_pipe.c +++ b/src/gallium/drivers/radeonsi/si_pipe.c @@ -642,7 +642,8 @@ static void si_disk_cache_create(struct si_screen *sscreen) sscreen->debug_flags & (DBG(FS_CORRECT_DERIVS_AFTER_KILL) | DBG(SI_SCHED) | - DBG(UNSAFE_MATH)); + DBG(UNSAFE_MATH) | + DBG(NIR)); sscreen->disk_shader_cache = disk_cache_create(si_get_family_name(sscreen),