vk: add "add_signed" in blend op.

This commit is contained in:
Zangetsu38 2017-06-30 04:06:02 +02:00 committed by kd-11
parent fd4a153eef
commit 253e7a90b8
1 changed files with 2 additions and 1 deletions

View File

@ -230,7 +230,8 @@ namespace vk
{
switch (op)
{
case rsx::blend_equation::add: return VK_BLEND_OP_ADD;
case rsx::blend_equation::add:
case rsx::blend_equation::add_signed: return VK_BLEND_OP_ADD;
case rsx::blend_equation::substract: return VK_BLEND_OP_SUBTRACT;
case rsx::blend_equation::reverse_substract: return VK_BLEND_OP_REVERSE_SUBTRACT;
case rsx::blend_equation::min: return VK_BLEND_OP_MIN;