mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-27 07:20:49 +00:00
Unify logicop, antialias in the command table
This commit is contained in:
parent
8e6d546921
commit
934b3db800
@ -165,13 +165,6 @@ static const D3D11CommandTableEntry commandTable[] = {
|
||||
{ GE_CMD_ZTESTENABLE, FLAG_FLUSHBEFOREONCHANGE },
|
||||
{ GE_CMD_ZWRITEDISABLE, FLAG_FLUSHBEFOREONCHANGE },
|
||||
|
||||
// These can't be emulated in D3D (except a few special cases)
|
||||
{ GE_CMD_LOGICOP, FLAG_FLUSHBEFOREONCHANGE },
|
||||
{ GE_CMD_LOGICOPENABLE, FLAG_FLUSHBEFOREONCHANGE },
|
||||
|
||||
// Can probably ignore this one as we don't support AA lines.
|
||||
{ GE_CMD_ANTIALIASENABLE, FLAG_FLUSHBEFOREONCHANGE },
|
||||
|
||||
// Changing the vertex type requires us to flush.
|
||||
{ GE_CMD_VERTEXTYPE, FLAG_FLUSHBEFOREONCHANGE | FLAG_EXECUTEONCHANGE, 0, &GPU_D3D11::Execute_VertexType },
|
||||
|
||||
|
@ -149,13 +149,6 @@ static const D3D9CommandTableEntry commandTable[] = {
|
||||
{GE_CMD_ZTESTENABLE, FLAG_FLUSHBEFOREONCHANGE},
|
||||
{GE_CMD_ZWRITEDISABLE, FLAG_FLUSHBEFOREONCHANGE},
|
||||
|
||||
// These can't be emulated in D3D (except a few special cases)
|
||||
{GE_CMD_LOGICOP, FLAG_FLUSHBEFOREONCHANGE},
|
||||
{GE_CMD_LOGICOPENABLE, FLAG_FLUSHBEFOREONCHANGE},
|
||||
|
||||
// Can probably ignore this one as we don't support AA lines.
|
||||
{GE_CMD_ANTIALIASENABLE, FLAG_FLUSHBEFOREONCHANGE},
|
||||
|
||||
// Changing the vertex type requires us to flush.
|
||||
{GE_CMD_VERTEXTYPE, FLAG_FLUSHBEFOREONCHANGE | FLAG_EXECUTEONCHANGE, 0, &GPU_DX9::Execute_VertexType},
|
||||
|
||||
|
@ -152,11 +152,6 @@ static const GLESCommandTableEntry commandTable[] = {
|
||||
{GE_CMD_ZTEST, FLAG_FLUSHBEFOREONCHANGE},
|
||||
{GE_CMD_ZTESTENABLE, FLAG_FLUSHBEFOREONCHANGE},
|
||||
{GE_CMD_ZWRITEDISABLE, FLAG_FLUSHBEFOREONCHANGE},
|
||||
{GE_CMD_LOGICOP, FLAG_FLUSHBEFOREONCHANGE},
|
||||
{GE_CMD_LOGICOPENABLE, FLAG_FLUSHBEFOREONCHANGE},
|
||||
|
||||
// Can probably ignore this one as we don't support AA lines.
|
||||
{GE_CMD_ANTIALIASENABLE, FLAG_FLUSHBEFOREONCHANGE},
|
||||
|
||||
// Changing the vertex type requires us to flush.
|
||||
{GE_CMD_VERTEXTYPE, FLAG_FLUSHBEFOREONCHANGE | FLAG_EXECUTEONCHANGE, 0, &GPU_GLES::Execute_VertexType},
|
||||
|
@ -73,6 +73,13 @@ const CommonCommandTableEntry commonCommandTable[] = {
|
||||
{ GE_CMD_PATCHFACING, FLAG_FLUSHBEFOREONCHANGE },
|
||||
{ GE_CMD_PATCHCULLENABLE, FLAG_FLUSHBEFOREONCHANGE },
|
||||
|
||||
// These can't be emulated in D3D (except a few special cases)
|
||||
{ GE_CMD_LOGICOP, FLAG_FLUSHBEFOREONCHANGE },
|
||||
{ GE_CMD_LOGICOPENABLE, FLAG_FLUSHBEFOREONCHANGE },
|
||||
|
||||
// Can probably ignore this one as we don't support AA lines.
|
||||
{ GE_CMD_ANTIALIASENABLE, FLAG_FLUSHBEFOREONCHANGE },
|
||||
|
||||
// Viewport.
|
||||
{ GE_CMD_VIEWPORTXSCALE, FLAG_FLUSHBEFOREONCHANGE, DIRTY_FRAMEBUF | DIRTY_TEXTURE_PARAMS },
|
||||
{ GE_CMD_VIEWPORTYSCALE, FLAG_FLUSHBEFOREONCHANGE, DIRTY_FRAMEBUF | DIRTY_TEXTURE_PARAMS },
|
||||
|
@ -148,11 +148,6 @@ static const VulkanCommandTableEntry commandTable[] = {
|
||||
{ GE_CMD_ZTEST, FLAG_FLUSHBEFOREONCHANGE },
|
||||
{ GE_CMD_ZTESTENABLE, FLAG_FLUSHBEFOREONCHANGE },
|
||||
{ GE_CMD_ZWRITEDISABLE, FLAG_FLUSHBEFOREONCHANGE },
|
||||
{ GE_CMD_LOGICOP, FLAG_FLUSHBEFOREONCHANGE },
|
||||
{ GE_CMD_LOGICOPENABLE, FLAG_FLUSHBEFOREONCHANGE },
|
||||
|
||||
// Can probably ignore this one as we don't support AA lines.
|
||||
{ GE_CMD_ANTIALIASENABLE, FLAG_FLUSHBEFOREONCHANGE },
|
||||
|
||||
// Changing the vertex type requires us to flush.
|
||||
{ GE_CMD_VERTEXTYPE, FLAG_FLUSHBEFOREONCHANGE | FLAG_EXECUTEONCHANGE, 0, &GPU_Vulkan::Execute_VertexType },
|
||||
|
Loading…
Reference in New Issue
Block a user