GE Debugger: Rename depth clamp more places.

Was still showing clip enable in disasm.
This commit is contained in:
Unknown W. Brackets 2018-08-11 16:33:39 -07:00
parent 1fdb1f785a
commit c32ffa1db0
6 changed files with 8 additions and 8 deletions

View File

@ -193,7 +193,7 @@ const CommonCommandTableEntry commonCommandTable[] = {
{ GE_CMD_VIEWPORTYCENTER, FLAG_FLUSHBEFOREONCHANGE, DIRTY_FRAMEBUF | DIRTY_TEXTURE_PARAMS | DIRTY_VIEWPORTSCISSOR_STATE },
{ GE_CMD_VIEWPORTZSCALE, FLAG_FLUSHBEFOREONCHANGE, DIRTY_FRAMEBUF | DIRTY_TEXTURE_PARAMS | DIRTY_DEPTHRANGE | DIRTY_PROJMATRIX | DIRTY_VIEWPORTSCISSOR_STATE },
{ GE_CMD_VIEWPORTZCENTER, FLAG_FLUSHBEFOREONCHANGE, DIRTY_FRAMEBUF | DIRTY_TEXTURE_PARAMS | DIRTY_DEPTHRANGE | DIRTY_PROJMATRIX | DIRTY_VIEWPORTSCISSOR_STATE },
{ GE_CMD_CLIPENABLE, FLAG_FLUSHBEFOREONCHANGE, DIRTY_VIEWPORTSCISSOR_STATE | DIRTY_RASTER_STATE },
{ GE_CMD_DEPTHCLAMPENABLE, FLAG_FLUSHBEFOREONCHANGE, DIRTY_VIEWPORTSCISSOR_STATE | DIRTY_RASTER_STATE },
// Z clip
{ GE_CMD_MINZ, FLAG_FLUSHBEFOREONCHANGE, DIRTY_DEPTHRANGE | DIRTY_VIEWPORTSCISSOR_STATE },

View File

@ -297,8 +297,8 @@ void GeDisassembleOp(u32 pc, u32 op, u32 prev, char *buffer, int bufsize) {
}
break;
case GE_CMD_CLIPENABLE:
snprintf(buffer, bufsize, "Clip enable: %i", data);
case GE_CMD_DEPTHCLAMPENABLE:
snprintf(buffer, bufsize, "Depth clamp enable: %i", data);
break;
case GE_CMD_CULLFACEENABLE:

View File

@ -137,8 +137,8 @@ void NullGPU::ExecuteOp(u32 op, u32 diff) {
}
break;
case GE_CMD_CLIPENABLE:
DEBUG_LOG(G3D, "DL Clip Enable: %i (ignoring)", data);
case GE_CMD_DEPTHCLAMPENABLE:
DEBUG_LOG(G3D, "DL Depth Clamp Enable: %i (ignoring)", data);
//we always clip, this is opengl
break;

View File

@ -506,7 +506,7 @@ void SoftGPU::ExecuteOp(u32 op, u32 diff) {
case GE_CMD_REGION2:
break;
case GE_CMD_CLIPENABLE:
case GE_CMD_DEPTHCLAMPENABLE:
break;
case GE_CMD_CULLFACEENABLE:

View File

@ -43,7 +43,7 @@ enum GECommand {
GE_CMD_LIGHTENABLE1 = 0x19,
GE_CMD_LIGHTENABLE2 = 0x1A,
GE_CMD_LIGHTENABLE3 = 0x1B,
GE_CMD_CLIPENABLE = 0x1C,
GE_CMD_DEPTHCLAMPENABLE = 0x1C,
GE_CMD_CULLFACEENABLE = 0x1D,
GE_CMD_TEXTUREMAPENABLE = 0x1E,
GE_CMD_FOGENABLE = 0x1F,

View File

@ -100,7 +100,7 @@ static const TabStateRow stateFlagsRows[] = {
{ L"Light 1 enable", GE_CMD_LIGHTENABLE1, CMD_FMT_FLAG },
{ L"Light 2 enable", GE_CMD_LIGHTENABLE2, CMD_FMT_FLAG },
{ L"Light 3 enable", GE_CMD_LIGHTENABLE3, CMD_FMT_FLAG },
{ L"Clip enable", GE_CMD_CLIPENABLE, CMD_FMT_FLAG },
{ L"Depth clamp enable", GE_CMD_DEPTHCLAMPENABLE, CMD_FMT_FLAG },
{ L"Cullface enable", GE_CMD_CULLFACEENABLE, CMD_FMT_FLAG },
{ L"Texture map enable", GE_CMD_TEXTUREMAPENABLE, CMD_FMT_FLAG },
{ L"Fog enable", GE_CMD_FOGENABLE, CMD_FMT_FLAG },