mirror of https://github.com/xemu-project/xemu.git
Swap blend equations from gl/vk map
This commit is contained in:
parent
1f305f5361
commit
e96385b8f5
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue