[Mesa-dev] [PATCH] radv: remove duplicate initialization of alphaToOne feature
Damien Grassart
damien at grassart.com
Sun Mar 5 23:56:20 UTC 2017
Fixes a GCC warning when compiling with -Wextra:
radv_device.c:463:47: warning: initialized field overwritten [-Woverride-init]
Signed-off-by: Damien Grassart <damien at grassart.com>
---
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 eaf610c286..a4a873a8e8 100644
--- a/src/amd/vulkan/radv_device.c
+++ b/src/amd/vulkan/radv_device.c
@@ -460,7 +460,6 @@ void radv_GetPhysicalDeviceFeatures(
.shaderFloat64 = true,
.shaderInt64 = false,
.shaderInt16 = false,
- .alphaToOne = true,
.variableMultisampleRate = false,
.inheritedQueries = false,
};
--
2.12.0
More information about the mesa-dev
mailing list