Remove unnecessary initializers
authorAlexander Galazin <alexander.galazin@arm.com>
Wed, 9 Oct 2019 07:12:17 +0000 (09:12 +0200)
committerAlexander Galazin <alexander.galazin@arm.com>
Wed, 9 Oct 2019 07:12:21 +0000 (09:12 +0200)
Components: Vulkan

Affects: dEQP-VK.glsl.shader_clock.*

Change-Id: I4526c05cdd5464f26450bba67f573b467881f4ff

external/vulkancts/modules/vulkan/shaderexecutor/vktShaderClockTests.cpp

index 5fcf8c7..412b6c4 100644 (file)
@@ -124,11 +124,11 @@ private:
        {
                m_context.requireDeviceExtension("VK_KHR_shader_clock");
 
-               VkPhysicalDeviceShaderClockFeaturesKHR shaderClockFeatures = {};
+               VkPhysicalDeviceShaderClockFeaturesKHR shaderClockFeatures;
                shaderClockFeatures.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CLOCK_FEATURES_KHR;
                shaderClockFeatures.pNext = DE_NULL;
 
-               VkPhysicalDeviceFeatures2 features = {};
+               VkPhysicalDeviceFeatures2 features;
                features.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2;
                features.pNext = &shaderClockFeatures;