diff options
author | Marek Olšák <[email protected]> | 2018-02-09 01:47:26 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2018-02-09 02:01:45 +0100 |
commit | 12fd567c78c66b136b5c67782be754790951a560 (patch) | |
tree | e18692ccbc14b112e612a6b74a6ae9931b2dadd5 | |
parent | 8f20cf166ed434092242dba05a09f682df3028d8 (diff) |
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 <[email protected]>
Reviewed-by: Timothy Arceri <[email protected]>
-rw-r--r-- | src/gallium/drivers/radeonsi/si_pipe.c | 3 |
1 files changed, 2 insertions, 1 deletions
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), |