summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDamien Grassart <[email protected]>2017-03-06 00:56:20 +0100
committerDave Airlie <[email protected]>2017-03-08 06:00:34 +1000
commite25c92a72d7f2edb4e460ca29873b27fdf203c96 (patch)
tree35510678ad234640d52b8ce441e33850449efd22
parentd81bd2f75462646d3803d683a28f6682a2ce3078 (diff)
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 <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
-rw-r--r--src/amd/vulkan/radv_device.c1
1 files changed, 0 insertions, 1 deletions
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,
};