From 6dc3ca7777a3c4405e52a8e9cb8f7a2090def755 Mon Sep 17 00:00:00 2001 From: Caleb Cornett Date: Sat, 19 Nov 2022 11:59:38 -0500 Subject: [PATCH] remove SRC1 blend factors --- include/Refresh.h | 6 +----- src/Refresh_Driver_Template.txt | 4 ---- src/Refresh_Driver_Vulkan.c | 6 +----- 3 files changed, 2 insertions(+), 14 deletions(-) diff --git a/include/Refresh.h b/include/Refresh.h index 1a1b2ff..7804056 100644 --- a/include/Refresh.h +++ b/include/Refresh.h @@ -281,11 +281,7 @@ typedef enum Refresh_BlendFactor REFRESH_BLENDFACTOR_ONE_MINUS_DST_ALPHA, REFRESH_BLENDFACTOR_CONSTANT_COLOR, REFRESH_BLENDFACTOR_ONE_MINUS_CONSTANT_COLOR, - REFRESH_BLENDFACTOR_SRC_ALPHA_SATURATE, - REFRESH_BLENDFACTOR_SRC1_COLOR, - REFRESH_BLENDFACTOR_ONE_MINUS_SRC1_COLOR, - REFRESH_BLENDFACTOR_SRC1_ALPHA, - REFRESH_BLENDFACTOR_ONE_MINUS_SRC1_ALPHA + REFRESH_BLENDFACTOR_SRC_ALPHA_SATURATE } Refresh_BlendFactor; typedef enum Refresh_ColorComponentFlagBits diff --git a/src/Refresh_Driver_Template.txt b/src/Refresh_Driver_Template.txt index 9940069..128b8cc 100644 --- a/src/Refresh_Driver_Template.txt +++ b/src/Refresh_Driver_Template.txt @@ -127,10 +127,6 @@ static TEMPLATE_BLEND_FACTOR_TYPE RefreshToTEMPLATE_BlendFactor[] = 0, /* CONSTANT_COLOR */ 0, /* ONE_MINUS_CONSTANT_COLOR */ 0, /* SRC_ALPHA_SATURATE */ - 0, /* SRC1_COLOR */ - 0, /* ONE_MINUS_SRC1_COLOR */ - 0, /* SRC1_ALPHA */ - 0 /* ONE_MINUS_SRC1_ALPHA */ }; static TEMPLATE_BLEND_OP_TYPE RefreshToTEMPLATE_BlendOp[] = diff --git a/src/Refresh_Driver_Vulkan.c b/src/Refresh_Driver_Vulkan.c index 79d8fa6..f39db0f 100644 --- a/src/Refresh_Driver_Vulkan.c +++ b/src/Refresh_Driver_Vulkan.c @@ -287,11 +287,7 @@ static VkBlendFactor RefreshToVK_BlendFactor[] = VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_COLOR, VK_BLEND_FACTOR_CONSTANT_ALPHA, VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_ALPHA, - VK_BLEND_FACTOR_SRC_ALPHA_SATURATE, - VK_BLEND_FACTOR_SRC1_COLOR, - VK_BLEND_FACTOR_ONE_MINUS_SRC1_COLOR, - VK_BLEND_FACTOR_SRC1_ALPHA, - VK_BLEND_FACTOR_ONE_MINUS_SRC1_ALPHA + VK_BLEND_FACTOR_SRC_ALPHA_SATURATE }; static VkBlendOp RefreshToVK_BlendOp[] =