vk: Add some more blend ops

This commit is contained in:
kd-11 2016-03-11 11:16:35 +03:00
parent 9d7c186a4f
commit 34992d8a8f

View File

@ -141,6 +141,8 @@ namespace vk
case CELL_GCM_FUNC_ADD: return VK_BLEND_OP_ADD; case CELL_GCM_FUNC_ADD: return VK_BLEND_OP_ADD;
case CELL_GCM_FUNC_SUBTRACT: return VK_BLEND_OP_SUBTRACT; case CELL_GCM_FUNC_SUBTRACT: return VK_BLEND_OP_SUBTRACT;
case CELL_GCM_FUNC_REVERSE_SUBTRACT: return VK_BLEND_OP_REVERSE_SUBTRACT; case CELL_GCM_FUNC_REVERSE_SUBTRACT: return VK_BLEND_OP_REVERSE_SUBTRACT;
case CELL_GCM_MIN: return VK_BLEND_OP_MIN;
case CELL_GCM_MAX: return VK_BLEND_OP_MAX;
default: default:
throw EXCEPTION("Unknown blend op: 0x%X", op); throw EXCEPTION("Unknown blend op: 0x%X", op);
} }