r600g: rename r600_reg::flush_flags -> sbu_flags
There is no other use for that.
This commit is contained in:
@@ -902,7 +902,7 @@ static int evergreen_loop_const_init(struct r600_context *ctx, uint32_t offset)
|
||||
for (i = 0; i < nreg; i++) {
|
||||
r600_loop_consts[i].offset = EVERGREEN_LOOP_CONST_OFFSET + ((offset + i) * 4);
|
||||
r600_loop_consts[i].flags = REG_FLAG_DIRTY_ALWAYS;
|
||||
r600_loop_consts[i].flush_flags = 0;
|
||||
r600_loop_consts[i].sbu_flags = 0;
|
||||
}
|
||||
return r600_context_add_block(ctx, r600_loop_consts, nreg, PKT3_SET_LOOP_CONST, EVERGREEN_LOOP_CONST_OFFSET);
|
||||
}
|
||||
|
||||
@@ -196,7 +196,7 @@ static void r600_init_block(struct r600_context *ctx,
|
||||
if ((ctx->screen->family > CHIP_R600) &&
|
||||
(ctx->screen->family < CHIP_RV770) && reg[i+j].flags & REG_FLAG_RV6XX_SBU) {
|
||||
block->pm4[block->pm4_ndwords++] = PKT3(PKT3_SURFACE_BASE_UPDATE, 0, 0);
|
||||
block->pm4[block->pm4_ndwords++] = reg[i+j].flush_flags;
|
||||
block->pm4[block->pm4_ndwords++] = reg[i+j].sbu_flags;
|
||||
}
|
||||
}
|
||||
/* check that we stay in limit */
|
||||
@@ -718,7 +718,7 @@ static int r600_loop_const_init(struct r600_context *ctx, uint32_t offset)
|
||||
for (i = 0; i < nreg; i++) {
|
||||
r600_loop_consts[i].offset = R600_LOOP_CONST_OFFSET + ((offset + i) * 4);
|
||||
r600_loop_consts[i].flags = REG_FLAG_DIRTY_ALWAYS;
|
||||
r600_loop_consts[i].flush_flags = 0;
|
||||
r600_loop_consts[i].sbu_flags = 0;
|
||||
}
|
||||
return r600_context_add_block(ctx, r600_loop_consts, nreg, PKT3_SET_LOOP_CONST, R600_LOOP_CONST_OFFSET);
|
||||
}
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
struct r600_reg {
|
||||
unsigned offset;
|
||||
unsigned flags;
|
||||
unsigned flush_flags;
|
||||
unsigned sbu_flags;
|
||||
};
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user