radv: Initialize the shader_stats_dump flag.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Tue, 29 Nov 2016 07:51:00 +0000 (08:51 +0100)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Tue, 29 Nov 2016 19:13:28 +0000 (20:13 +0100)
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@google.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_device.c

index 5a7ed045ca3ad765babbaf25846a5b988c509a15..0defc0fb4abd43d01cfd57a4e279c8870577d7bb 100644 (file)
@@ -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)