#include "tnl/t_vertex.h"
#include "tnl/t_pipeline.h"
+#include "radeon_lock.h"
#include "r600_context.h"
#include "r600_cmdbuf.h"
/* flush vtx */
//r700SyncSurf(context); /* */
+ LOCK_HARDWARE( &context->radeon );
+ UNLOCK_HARDWARE( &context->radeon );
+
r700SendContextStates(context);
r700SendViewportState(context, 0);
r700SendRenderTargetState(context, 0);
r700->viewport[id].PA_CL_VPORT_ZOFFSET.f32All = tz;
r700->viewport[id].enabled = GL_TRUE;
+
+ r700SetScissor(context);
}
rrb = radeon_get_colorbuffer(&context->radeon);
if (!rrb || !rrb->bo) {
- fprintf(stderr, "no rrb\n");
return;
}
if (context->radeon.state.scissor.enabled) {