Swap blend equations from gl/vk map

This commit is contained in:
polymetal0 2025-02-09 01:44:29 +01:00
parent 1f305f5361
commit e96385b8f5
3 changed files with 4 additions and 4 deletions

View File

@ -79,8 +79,8 @@ static const GLenum pgraph_blend_equation_gl_map[] = {
GL_FUNC_ADD,
GL_MIN,
GL_MAX,
GL_FUNC_REVERSE_SUBTRACT,
GL_FUNC_ADD,
GL_FUNC_REVERSE_SUBTRACT,
};
/* FIXME

View File

@ -1384,9 +1384,9 @@ DEF_METHOD(NV097, SET_BLEND_EQUATION)
equation = 3; break;
case NV097_SET_BLEND_EQUATION_V_MAX:
equation = 4; break;
case NV097_SET_BLEND_EQUATION_V_FUNC_ADD_SIGNED:
equation = 5; break;
case NV097_SET_BLEND_EQUATION_V_FUNC_REVERSE_SUBTRACT_SIGNED:
equation = 5; break;
case NV097_SET_BLEND_EQUATION_V_FUNC_ADD_SIGNED:
equation = 6; break;
default:
NV2A_DPRINTF("Unknown blend equation: 0x%08x\n", parameter);

View File

@ -77,8 +77,8 @@ static const VkBlendOp pgraph_blend_equation_vk_map[] = {
VK_BLEND_OP_ADD,
VK_BLEND_OP_MIN,
VK_BLEND_OP_MAX,
VK_BLEND_OP_REVERSE_SUBTRACT,
VK_BLEND_OP_ADD,
VK_BLEND_OP_REVERSE_SUBTRACT,
};
/* FIXME