mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Cleanup some minor vertex cache stuff.
This commit is contained in:
parent
6d72c2019a
commit
01bdb6e160
5 changed files with 3 additions and 6 deletions
|
@ -133,7 +133,7 @@ static const CommandTableEntry commandTable[] = {
|
|||
{GE_CMD_COLORTESTMASK, FLAG_FLUSHBEFOREONCHANGE | FLAG_EXECUTEONCHANGE, &DIRECTX9_GPU::Execute_ColorTestMask},
|
||||
|
||||
// These change the vertex shader so need flushing.
|
||||
{GE_CMD_REVERSENORMAL, FLAG_FLUSHBEFOREONCHANGE}, // TODO: This one is actually processed during vertex decoding which is wrong.
|
||||
{GE_CMD_REVERSENORMAL, FLAG_FLUSHBEFOREONCHANGE},
|
||||
{GE_CMD_LIGHTINGENABLE, FLAG_FLUSHBEFOREONCHANGE},
|
||||
{GE_CMD_LIGHTENABLE0, FLAG_FLUSHBEFOREONCHANGE},
|
||||
{GE_CMD_LIGHTENABLE1, FLAG_FLUSHBEFOREONCHANGE},
|
||||
|
|
|
@ -63,7 +63,6 @@ public:
|
|||
status = VAI_NEW;
|
||||
vbo = 0;
|
||||
ebo = 0;
|
||||
numDCs = 0;
|
||||
prim = GE_PRIM_INVALID;
|
||||
numDraws = 0;
|
||||
numFrames = 0;
|
||||
|
@ -95,7 +94,6 @@ public:
|
|||
s8 prim;
|
||||
|
||||
// ID information
|
||||
u8 numDCs;
|
||||
int numDraws;
|
||||
int numFrames;
|
||||
int lastFrame; // So that we can forget.
|
||||
|
|
|
@ -129,7 +129,7 @@ static const CommandTableEntry commandTable[] = {
|
|||
{GE_CMD_COLORTESTMASK, FLAG_FLUSHBEFOREONCHANGE | FLAG_EXECUTEONCHANGE, &GLES_GPU::Execute_ColorTestMask},
|
||||
|
||||
// These change the vertex shader so need flushing.
|
||||
{GE_CMD_REVERSENORMAL, FLAG_FLUSHBEFOREONCHANGE}, // TODO: This one is actually processed during vertex decoding which is wrong.
|
||||
{GE_CMD_REVERSENORMAL, FLAG_FLUSHBEFOREONCHANGE},
|
||||
{GE_CMD_LIGHTINGENABLE, FLAG_FLUSHBEFOREONCHANGE},
|
||||
{GE_CMD_LIGHTENABLE0, FLAG_FLUSHBEFOREONCHANGE},
|
||||
{GE_CMD_LIGHTENABLE1, FLAG_FLUSHBEFOREONCHANGE},
|
||||
|
|
|
@ -129,6 +129,7 @@ TransformDrawEngine::TransformDrawEngine()
|
|||
numDrawCalls(0),
|
||||
vertexCountInDrawCalls(0),
|
||||
decodeCounter_(0),
|
||||
dcid_(0),
|
||||
uvScale(0),
|
||||
fboTexBound_(false) {
|
||||
decimationCounter_ = VERTEXCACHE_DECIMATION_INTERVAL;
|
||||
|
|
|
@ -59,7 +59,6 @@ public:
|
|||
status = VAI_NEW;
|
||||
vbo = 0;
|
||||
ebo = 0;
|
||||
numDCs = 0;
|
||||
prim = GE_PRIM_INVALID;
|
||||
numDraws = 0;
|
||||
numFrames = 0;
|
||||
|
@ -91,7 +90,6 @@ public:
|
|||
s8 prim;
|
||||
|
||||
// ID information
|
||||
u8 numDCs;
|
||||
int numDraws;
|
||||
int numFrames;
|
||||
int lastFrame; // So that we can forget.
|
||||
|
|
Loading…
Add table
Reference in a new issue