From: Bas Nieuwenhuizen Date: Tue, 29 Nov 2016 07:51:00 +0000 (+0100) Subject: radv: Initialize the shader_stats_dump flag. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=029e8ff81c65c2e0562be4a5d93fe83a9df49233;p=mesa.git 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 Reviewed-by: Dave Airlie --- diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index 5a7ed045ca3..0defc0fb4ab 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)