OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1285a7
)
gallium/radeon: only pass shader-specific debug flags to the disk shader cache
author
Marek Olšák
<marek.olsak@amd.com>
Thu, 10 Aug 2017 10:22:33 +0000
(12:22 +0200)
committer
Marek Olšák
<marek.olsak@amd.com>
Fri, 11 Aug 2017 18:38:29 +0000
(20:38 +0200)
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
src/gallium/drivers/radeon/r600_pipe_common.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/radeon/r600_pipe_common.c
b/src/gallium/drivers/radeon/r600_pipe_common.c
index
2acef6a
..
95458d2
100644
(file)
--- a/
src/gallium/drivers/radeon/r600_pipe_common.c
+++ b/
src/gallium/drivers/radeon/r600_pipe_common.c
@@
-877,10
+877,17
@@
static void r600_disk_cache_create(struct r600_common_screen *rscreen)
}
#endif
if (res != -1) {
+ /* These flags affect shader compilation. */
+ uint64_t shader_debug_flags =
+ rscreen->debug_flags &
+ (DBG_FS_CORRECT_DERIVS_AFTER_KILL |
+ DBG_SI_SCHED |
+ DBG_UNSAFE_MATH);
+
rscreen->disk_shader_cache =
disk_cache_create(r600_get_family_name(rscreen),
timestamp_str,
-
rscreen->
debug_flags);
+
shader_
debug_flags);
free(timestamp_str);
}
}