r100/r200: fix front rendering issue.

This commit is contained in:
Dave Airlie 2009-02-12 21:44:34 +10:00
parent 1090d206de
commit df4a1348b1
4 changed files with 2 additions and 5 deletions

View file

@ -1783,6 +1783,7 @@ static void r200DrawBuffer( GLcontext *ctx, GLenum mode )
}
radeonSetCliprects( &rmesa->radeon );
radeonUpdatePageFlipping(&rmesa->radeon);
/* We'll set the drawing engine's offset/pitch parameters later
* when we update other state.

View file

@ -2692,8 +2692,6 @@ void r300InitState(r300ContextPtr r300)
GLcontext *ctx = r300->radeon.glCtx;
GLuint depth_fmt;
radeonInitState(&r300->radeon);
switch (ctx->Visual.depthBits) {
case 16:
r300->radeon.state.depth.scale = 1.0 / (GLfloat) 0xffff;
@ -2769,7 +2767,6 @@ static void r300ReadBuffer( GLcontext *ctx, GLenum mode )
*/
void r300InitStateFuncs(struct dd_function_table *functions)
{
radeonInitStateFuncs(functions);
functions->UpdateState = r300InvalidateState;
functions->AlphaFunc = r300AlphaFunc;

View file

@ -2595,7 +2595,6 @@ again_alloc:
bos[0].write_domain =0 ;
bos[0].new_accounted = 0;
again:
ret = radeon_cs_space_check(rmesa->cmdbuf.cs, bos, 1);
if (ret == RADEON_CS_SPACE_OP_TO_BIG) {
fprintf(stderr,"Got OPEARTION TO BIG ILLEGAL - this cannot happen");

View file

@ -1564,7 +1564,7 @@ static void radeonDrawBuffer( GLcontext *ctx, GLenum mode )
}
radeonSetCliprects( &rmesa->radeon );
radeonUpdatePageFlipping(&rmesa->radeon);
/* We'll set the drawing engine's offset/pitch parameters later
* when we update other state.
*/