projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f20cf1
)
radeonsi: copy the NIR enablement debug bit to the shader cache flags
author
Marek Olšák
<marek.olsak@amd.com>
Fri, 9 Feb 2018 00:47:26 +0000
(
01:47
+0100)
committer
Marek Olšák
<marek.olsak@amd.com>
Fri, 9 Feb 2018 01:01:45 +0000
(
02:01
+0100)
When NIR is enabled, TGSI must not be used. When NIR is disabled, TGSI
Tested-by: Dieter Nützel <Dieter@nuetzel-hh.de>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
src/gallium/drivers/radeonsi/si_pipe.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/radeonsi/si_pipe.c
b/src/gallium/drivers/radeonsi/si_pipe.c
index 26835d673dc5be81aa5810655846ee97524e94aa..97f11ea687957aef60fc2faed76285b99bbfe24b 100644
(file)
--- 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),