summaryrefslogtreecommitdiff
path: root/src/amd
diff options
context:
space:
mode:
authorDamien Grassart <damien@grassart.com>2017-03-06 00:56:20 +0100
committerDave Airlie <airlied@redhat.com>2017-03-08 06:00:34 +1000
commite25c92a72d7f2edb4e460ca29873b27fdf203c96 (patch)
tree35510678ad234640d52b8ce441e33850449efd22 /src/amd
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 <damien@grassart.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'src/amd')
-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 f1874ce544..17529c1f88 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,
};