summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorMatthew Waters <matthew@centricular.com>2016-02-09 11:34:57 +1100
committerMatthew Waters <matthew@centricular.com>2016-02-17 01:13:43 +1100
commit0309c9fbc7ee7cf27e5ca4d3a30a6c858542ac7f (patch)
treef388d3420a85ecdae71a8d825e691b8e7b7e56ae /ext
parent0dd1154b73433173e344fdf4f9f224d1f9ae10d6 (diff)
vkswapper: alpha flags are now supported by LunarG's driver
Diffstat (limited to 'ext')
-rw-r--r--ext/vulkan/vkswapper.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/ext/vulkan/vkswapper.c b/ext/vulkan/vkswapper.c
index c2e74acff..7681393d6 100644
--- a/ext/vulkan/vkswapper.c
+++ b/ext/vulkan/vkswapper.c
@@ -581,11 +581,6 @@ _allocate_swapchain (GstVulkanSwapper * swapper, GstCaps * caps,
_vk_format_from_video_format (GST_VIDEO_INFO_FORMAT (&swapper->v_info));
color_space = _vk_color_space_from_video_info (&swapper->v_info);
-#if 1
- /* FIXME: unsupported by LunarG's driver */
- g_print ("alpha flags 0x%x\n",
- (guint) swapper->surf_props.supportedCompositeAlpha);
-
if ((swapper->surf_props.supportedCompositeAlpha &
VK_COMPOSITE_ALPHA_OPAQUE_BIT_KHR) != 0) {
alpha_flags = VK_COMPOSITE_ALPHA_OPAQUE_BIT_KHR;
@@ -598,9 +593,6 @@ _allocate_swapchain (GstVulkanSwapper * swapper, GstCaps * caps,
"Incorrect alpha flags available for the swap images");
return FALSE;
}
-#else
- alpha_flags = 0;
-#endif
if ((swapper->surf_props.supportedUsageFlags &
VK_IMAGE_USAGE_TRANSFER_DST_BIT) != 0) {