mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 20:08:06 +02:00
Reenable the vtxfmt code paths in the radeon and r200 drivers.
This commit is contained in:
parent
41c310b20a
commit
9741dd6cf4
3 changed files with 18 additions and 15 deletions
|
|
@ -744,12 +744,6 @@ void r200VtxfmtInvalidate( GLcontext *ctx )
|
|||
}
|
||||
|
||||
|
||||
static void r200NewList( GLcontext *ctx, GLuint list, GLenum mode )
|
||||
{
|
||||
VFMT_FALLBACK_OUTSIDE_BEGIN_END( __FUNCTION__ );
|
||||
}
|
||||
|
||||
|
||||
static void r200VtxfmtValidate( GLcontext *ctx )
|
||||
{
|
||||
r200ContextPtr rmesa = R200_CONTEXT( ctx );
|
||||
|
|
@ -769,7 +763,6 @@ static void r200VtxfmtValidate( GLcontext *ctx )
|
|||
|
||||
_mesa_install_exec_vtxfmt( ctx, &rmesa->vb.vtxfmt );
|
||||
ctx->Driver.FlushVertices = r200VtxFmtFlushVertices;
|
||||
ctx->Driver.NewList = r200NewList;
|
||||
rmesa->vb.installed = GL_TRUE;
|
||||
}
|
||||
else if (R200_DEBUG & DEBUG_VFMT)
|
||||
|
|
@ -1037,6 +1030,14 @@ void r200VtxfmtInit( GLcontext *ctx, GLboolean useCodegen )
|
|||
vfmt->MultiTexCoord4fvARB = r200_fallback_MultiTexCoord4fvARB;
|
||||
vfmt->Vertex4f = r200_fallback_Vertex4f;
|
||||
vfmt->Vertex4fv = r200_fallback_Vertex4fv;
|
||||
vfmt->VertexAttrib1fNV = r200_fallback_VertexAttrib1fNV;
|
||||
vfmt->VertexAttrib1fvNV = r200_fallback_VertexAttrib1fvNV;
|
||||
vfmt->VertexAttrib2fNV = r200_fallback_VertexAttrib2fNV;
|
||||
vfmt->VertexAttrib2fvNV = r200_fallback_VertexAttrib2fvNV;
|
||||
vfmt->VertexAttrib3fNV = r200_fallback_VertexAttrib3fNV;
|
||||
vfmt->VertexAttrib3fvNV = r200_fallback_VertexAttrib3fvNV;
|
||||
vfmt->VertexAttrib4fNV = r200_fallback_VertexAttrib4fNV;
|
||||
vfmt->VertexAttrib4fvNV = r200_fallback_VertexAttrib4fvNV;
|
||||
|
||||
(void)r200_fallback_vtxfmt;
|
||||
|
||||
|
|
|
|||
|
|
@ -705,12 +705,6 @@ void radeonVtxfmtInvalidate( GLcontext *ctx )
|
|||
}
|
||||
|
||||
|
||||
static void radeonNewList( GLcontext *ctx, GLuint list, GLenum mode )
|
||||
{
|
||||
VFMT_FALLBACK_OUTSIDE_BEGIN_END( __FUNCTION__ );
|
||||
}
|
||||
|
||||
|
||||
static void radeonVtxfmtValidate( GLcontext *ctx )
|
||||
{
|
||||
radeonContextPtr rmesa = RADEON_CONTEXT( ctx );
|
||||
|
|
@ -730,7 +724,6 @@ static void radeonVtxfmtValidate( GLcontext *ctx )
|
|||
|
||||
_mesa_install_exec_vtxfmt( ctx, &rmesa->vb.vtxfmt );
|
||||
ctx->Driver.FlushVertices = radeonVtxfmtFlushVertices;
|
||||
ctx->Driver.NewList = radeonNewList;
|
||||
rmesa->vb.installed = GL_TRUE;
|
||||
}
|
||||
else if (RADEON_DEBUG & DEBUG_VFMT)
|
||||
|
|
@ -999,6 +992,14 @@ void radeonVtxfmtInit( GLcontext *ctx, GLboolean useCodegen )
|
|||
vfmt->MultiTexCoord4fvARB = radeon_fallback_MultiTexCoord4fvARB;
|
||||
vfmt->Vertex4f = radeon_fallback_Vertex4f;
|
||||
vfmt->Vertex4fv = radeon_fallback_Vertex4fv;
|
||||
vfmt->VertexAttrib1fNV = radeon_fallback_VertexAttrib1fNV;
|
||||
vfmt->VertexAttrib1fvNV = radeon_fallback_VertexAttrib1fvNV;
|
||||
vfmt->VertexAttrib2fNV = radeon_fallback_VertexAttrib2fNV;
|
||||
vfmt->VertexAttrib2fvNV = radeon_fallback_VertexAttrib2fvNV;
|
||||
vfmt->VertexAttrib3fNV = radeon_fallback_VertexAttrib3fNV;
|
||||
vfmt->VertexAttrib3fvNV = radeon_fallback_VertexAttrib3fvNV;
|
||||
vfmt->VertexAttrib4fNV = radeon_fallback_VertexAttrib4fNV;
|
||||
vfmt->VertexAttrib4fvNV = radeon_fallback_VertexAttrib4fvNV;
|
||||
|
||||
(void)radeon_fallback_vtxfmt;
|
||||
|
||||
|
|
|
|||
|
|
@ -981,7 +981,8 @@ static void GLAPIENTRY _tnl_Begin( GLenum mode )
|
|||
|
||||
if (ctx->NewState) {
|
||||
_mesa_update_state( ctx );
|
||||
ctx->Exec->Begin(mode);
|
||||
if (!(tnl->Driver.NotifyBegin && tnl->Driver.NotifyBegin( ctx, mode )))
|
||||
ctx->Exec->Begin(mode);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue