[Mesa-dev] [PATCH 1/2] radv: Initialize the shader_stats_dump flag.
Bas Nieuwenhuizen
bas at basnieuwenhuizen.nl
Tue Nov 29 07:56:17 UTC 2016
Meta was using it before it was set. I suspect we typically don't
want to dump meta shaders, so just set it to false in the beginning.
Signed-off-by: Bas Nieuwenhuizen <basni at google.com>
---
src/amd/vulkan/radv_device.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c
index 5a7ed04..0defc0f 100644
--- a/src/amd/vulkan/radv_device.c
+++ b/src/amd/vulkan/radv_device.c
@@ -657,6 +657,7 @@ VkResult radv_CreateDevice(
device->_loader_data.loaderMagic = ICD_LOADER_MAGIC;
device->instance = physical_device->instance;
+ device->shader_stats_dump = false;
device->ws = physical_device->ws;
if (pAllocator)
--
2.10.2
More information about the mesa-dev
mailing list