diff options
author | Bas Nieuwenhuizen <[email protected]> | 2016-11-29 08:51:00 +0100 |
---|---|---|
committer | Bas Nieuwenhuizen <[email protected]> | 2016-11-29 20:13:28 +0100 |
commit | 029e8ff81c65c2e0562be4a5d93fe83a9df49233 (patch) | |
tree | 520225a6b1f276f6cdbc7f50d67b5030b8ee9af4 /src | |
parent | d40a3212aee2c0b2667011f28540cecf000bdea3 (diff) |
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 <[email protected]>
Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/amd/vulkan/radv_device.c | 1 |
1 files changed, 1 insertions, 0 deletions
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) |