From e25c92a72d7f2edb4e460ca29873b27fdf203c96 Mon Sep 17 00:00:00 2001 From: Damien Grassart Date: Mon, 6 Mar 2017 00:56:20 +0100 Subject: [PATCH] radv: remove duplicate initialization of alphaToOne feature Fixes a GCC warning when compiling with -Wextra: radv_device.c:463:47: warning: initialized field overwritten [-Woverride-init] Signed-off-by: Damien Grassart Signed-off-by: Dave Airlie --- src/amd/vulkan/radv_device.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index f1874ce5447..17529c1f88e 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -465,7 +465,6 @@ void radv_GetPhysicalDeviceFeatures( .shaderFloat64 = true, .shaderInt64 = false, .shaderInt16 = false, - .alphaToOne = true, .variableMultisampleRate = false, .inheritedQueries = false, }; -- 2.30.2