r600: warning fixes
This commit is contained in:
parent
e0e51ab1ea
commit
643d52a394
|
@ -249,7 +249,6 @@ void r700SetupVTXConstants(GLcontext * ctx,
|
|||
unsigned int count) /* number of vectors in stream */
|
||||
{
|
||||
context_t *context = R700_CONTEXT(ctx);
|
||||
uint32_t *dest;
|
||||
struct radeon_aos * paos = (struct radeon_aos *)pAos;
|
||||
offset_modifiers offset_mod = {NO_SHIFT, 0, 0xFFFFFFFF};
|
||||
|
||||
|
@ -417,7 +416,7 @@ GLboolean r700SendContextStates(context_t *context)
|
|||
return GL_TRUE;
|
||||
}
|
||||
|
||||
GLboolean r700SendDepthTargetState(context_t *context, int id)
|
||||
GLboolean r700SendDepthTargetState(context_t *context)
|
||||
{
|
||||
R700_CHIP_CONTEXT *r700 = R700_CONTEXT_STATES(context);
|
||||
struct radeon_renderbuffer *rrb;
|
||||
|
@ -540,7 +539,6 @@ GLboolean r700SendRenderTargetState(context_t *context, int id)
|
|||
GLboolean r700SendPSState(context_t *context)
|
||||
{
|
||||
R700_CHIP_CONTEXT *r700 = R700_CONTEXT_STATES(context);
|
||||
struct radeon_renderbuffer *rrb;
|
||||
struct radeon_bo * pbo;
|
||||
offset_modifiers offset_mod;
|
||||
BATCH_LOCALS(&context->radeon);
|
||||
|
@ -575,7 +573,6 @@ GLboolean r700SendPSState(context_t *context)
|
|||
GLboolean r700SendVSState(context_t *context)
|
||||
{
|
||||
R700_CHIP_CONTEXT *r700 = R700_CONTEXT_STATES(context);
|
||||
struct radeon_renderbuffer *rrb;
|
||||
struct radeon_bo * pbo;
|
||||
offset_modifiers offset_mod;
|
||||
BATCH_LOCALS(&context->radeon);
|
||||
|
@ -609,7 +606,6 @@ GLboolean r700SendVSState(context_t *context)
|
|||
GLboolean r700SendFSState(context_t *context)
|
||||
{
|
||||
R700_CHIP_CONTEXT *r700 = R700_CONTEXT_STATES(context);
|
||||
struct radeon_renderbuffer *rrb;
|
||||
struct radeon_bo * pbo;
|
||||
offset_modifiers offset_mod;
|
||||
BATCH_LOCALS(&context->radeon);
|
||||
|
@ -652,8 +648,6 @@ GLboolean r700SendFSState(context_t *context)
|
|||
GLboolean r700SendViewportState(context_t *context, int id)
|
||||
{
|
||||
R700_CHIP_CONTEXT *r700 = R700_CONTEXT_STATES(context);
|
||||
struct radeon_renderbuffer *rrb;
|
||||
offset_modifiers offset_mod;
|
||||
BATCH_LOCALS(&context->radeon);
|
||||
|
||||
if (id > R700_MAX_VIEWPORTS)
|
||||
|
|
|
@ -282,7 +282,6 @@ unsigned int r700PrimitiveType(int prim)
|
|||
void r700RunRenderPrimitive(GLcontext * ctx, int start, int end, int prim)
|
||||
{
|
||||
context_t *context = R700_CONTEXT(ctx);
|
||||
R700_CHIP_CONTEXT *r700 = (R700_CHIP_CONTEXT*)(&context->hw);
|
||||
BATCH_LOCALS(&context->radeon);
|
||||
int type, i, total_emit;
|
||||
int num_indices = end - start;
|
||||
|
@ -339,7 +338,6 @@ static GLboolean r700RunRender(GLcontext * ctx,
|
|||
struct tnl_pipeline_stage *stage)
|
||||
{
|
||||
context_t *context = R700_CONTEXT(ctx);
|
||||
int lastIndex = 0;
|
||||
unsigned int i;
|
||||
TNLcontext *tnl = TNL_CONTEXT(ctx);
|
||||
struct vertex_buffer *vb = &tnl->vb;
|
||||
|
|
Loading…
Reference in New Issue