Mesa (master): radv: Initialize the shader_stats_dump flag.
Bas Nieuwenhuizen
bnieuwenhuizen at kemper.freedesktop.org
Tue Nov 29 19:14:04 UTC 2016
Module: Mesa
Branch: master
Commit: 029e8ff81c65c2e0562be4a5d93fe83a9df49233
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=029e8ff81c65c2e0562be4a5d93fe83a9df49233
Author: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Date: Tue Nov 29 08:51:00 2016 +0100
radv: Initialize the shader_stats_dump flag.
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>
Reviewed-by: Dave Airlie <airlied at redhat.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)
More information about the mesa-commit
mailing list