diff options
author | Damien Grassart <damien@grassart.com> | 2017-03-06 00:56:20 +0100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2017-03-08 06:00:34 +1000 |
commit | e25c92a72d7f2edb4e460ca29873b27fdf203c96 (patch) | |
tree | 35510678ad234640d52b8ce441e33850449efd22 /src/amd | |
parent | d81bd2f75462646d3803d683a28f6682a2ce3078 (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.c | 1 |
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, }; |