projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
493d93f
)
radv: skip pipeline caching with RADV_DEBUG=shaders
author
Daniel Schürmann
<daniel@schuermann.dev>
Sat, 18 Mar 2023 15:26:38 +0000
(16:26 +0100)
committer
Marge Bot
<emma+marge@anholt.net>
Fri, 24 Mar 2023 19:03:29 +0000
(19:03 +0000)
in order to create reproducible cache entries.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22029>
src/amd/vulkan/radv_pipeline.c
patch
|
blob
|
history
diff --git
a/src/amd/vulkan/radv_pipeline.c
b/src/amd/vulkan/radv_pipeline.c
index
a171b07
..
a2a3007
100644
(file)
--- a/
src/amd/vulkan/radv_pipeline.c
+++ b/
src/amd/vulkan/radv_pipeline.c
@@
-3257,7
+3257,7
@@
bool
radv_pipeline_capture_shaders(const struct radv_device *device, VkPipelineCreateFlags flags)
{
return (flags & VK_PIPELINE_CREATE_CAPTURE_INTERNAL_REPRESENTATIONS_BIT_KHR) ||
- device->keep_shader_info;
+
(device->instance->debug_flags & RADV_DEBUG_DUMP_SHADERS) ||
device->keep_shader_info;
}
bool