From 12fd567c78c66b136b5c67782be754790951a560 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Fri, 9 Feb 2018 01:47:26 +0100 Subject: [PATCH] radeonsi: copy the NIR enablement debug bit to the shader cache flags MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit When NIR is enabled, TGSI must not be used. When NIR is disabled, TGSI Tested-by: Dieter Nützel Reviewed-by: Timothy Arceri --- src/gallium/drivers/radeonsi/si_pipe.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gallium/drivers/radeonsi/si_pipe.c b/src/gallium/drivers/radeonsi/si_pipe.c index 26835d6..97f11ea 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), -- 2.7.4