diff --git a/console/rgl/ps3/device_ctx.cpp b/console/rgl/ps3/device_ctx.cpp index c70f21d4fa..1b3d2521a0 100644 --- a/console/rgl/ps3/device_ctx.cpp +++ b/console/rgl/ps3/device_ctx.cpp @@ -260,23 +260,7 @@ static GLboolean _RGLInitFromRM( RGLResource *rmResource ) cellGcmSetBlendEquationInline( &_RGLState.fifo, CELL_GCM_FUNC_ADD, CELL_GCM_FUNC_ADD ); cellGcmSetBlendFuncInline( &_RGLState.fifo, CELL_GCM_ONE, CELL_GCM_ZERO, CELL_GCM_ONE, CELL_GCM_ZERO ); cellGcmSetClearColorInline( &_RGLState.fifo, hwColor); - cellGcmSetAlphaTestEnableInline( &_RGLState.fifo, CELL_GCM_FALSE); - cellGcmSetBlendEnableInline( &_RGLState.fifo, CELL_GCM_FALSE); - cellGcmSetAlphaTestEnableInline( &_RGLState.fifo, CELL_GCM_FALSE); - cellGcmSetBlendEnableMrtInline( &_RGLState.fifo, CELL_GCM_FALSE, CELL_GCM_FALSE, CELL_GCM_FALSE); - cellGcmSetLogicOpEnableInline( &_RGLState.fifo, CELL_GCM_FALSE); - cellGcmSetCullFaceEnableInline( &_RGLState.fifo, CELL_GCM_FALSE); - cellGcmSetCullFaceEnableInline( &_RGLState.fifo, CELL_GCM_FALSE); - cellGcmSetDepthBoundsTestEnableInline( &_RGLState.fifo, CELL_GCM_FALSE); - cellGcmSetDepthTestEnableInline( &_RGLState.fifo, CELL_GCM_FALSE); - cellGcmSetPolygonOffsetFillEnableInline( &_RGLState.fifo, CELL_GCM_FALSE); - cellGcmSetPolygonOffsetLineEnableInline( &_RGLState.fifo, CELL_GCM_FALSE); - cellGcmSetRestartIndexEnableInline( &_RGLState.fifo, CELL_GCM_FALSE); - cellGcmSetFragmentProgramGammaEnableInline( &_RGLState.fifo, CELL_GCM_FALSE); cellGcmSetScissorInline( &_RGLState.fifo, 0, 0, 4095, 4095); - cellGcmSetStencilTestEnableInline( &_RGLState.fifo, CELL_GCM_FALSE); - cellGcmSetTwoSidedStencilTestEnableInline( &_RGLState.fifo, CELL_GCM_FALSE); - cellGcmSetTwoSideLightEnableInline( &_RGLState.fifo, CELL_GCM_FALSE); cellGcmSetVertexAttribOutputMaskInline( &_RGLState.fifo, s->vertexProgramAttribMask & s->fragmentProgramAttribMask); cellGcmSetPointSpriteControlInline( &_RGLState.fifo, CELL_GCM_FALSE, 1, 0); @@ -1234,11 +1218,6 @@ GLAPI void psglSwap(void) cellGcmSetWaitFlip(); } - cellGcmSetPolySmoothEnableInline( &_RGLState.fifo, CELL_GCM_FALSE); - cellGcmSetLineStippleEnableInline( &_RGLState.fifo, CELL_GCM_FALSE ); - cellGcmSetPolygonStippleEnableInline( &_RGLState.fifo, CELL_GCM_FALSE); - cellGcmSetDepthBoundsTestEnable( &_RGLState.fifo, CELL_GCM_FALSE); - LContext->needValidate = PSGL_VALIDATE_ALL; for(int unit = 0; unit < MAX_TEXTURE_UNITS; unit++) diff --git a/console/rgl/ps3/rgl.cpp b/console/rgl/ps3/rgl.cpp index 1c01020d31..fe44fcc25a 100644 --- a/console/rgl/ps3/rgl.cpp +++ b/console/rgl/ps3/rgl.cpp @@ -1683,8 +1683,6 @@ GLAPI void APIENTRY glClear( GLbitfield mask ) if ( newmask ) { - cellGcmSetScissorInline( &_RGLState.fifo, 0, 0, 4095, 4095); - static float _RGLClearVertexBuffer[12] __attribute__((aligned(128))) = { -1.f, -1.f, 0.f,