r600g: remove redundant r600_context::vs_so_stride_in_dw
This commit is contained in:
parent
709f50928e
commit
73191026b4
|
@ -1931,7 +1931,7 @@ void r600_context_streamout_begin(struct r600_context *ctx)
|
|||
{
|
||||
struct radeon_winsys_cs *cs = ctx->cs;
|
||||
struct r600_so_target **t = ctx->so_targets;
|
||||
unsigned *stride_in_dw = ctx->vs_so_stride_in_dw;
|
||||
unsigned *stride_in_dw = ctx->vs_shader->so.stride;
|
||||
unsigned buffer_en, i, update_flags = 0;
|
||||
uint64_t va;
|
||||
|
||||
|
|
|
@ -314,7 +314,6 @@ struct r600_context {
|
|||
struct r600_so_target *so_targets[PIPE_MAX_SO_BUFFERS];
|
||||
boolean streamout_start;
|
||||
unsigned streamout_append_bitmask;
|
||||
unsigned *vs_so_stride_in_dw;
|
||||
};
|
||||
|
||||
static INLINE void r600_emit_atom(struct r600_context *rctx, struct r600_atom *atom)
|
||||
|
|
|
@ -815,8 +815,6 @@ void r600_draw_vbo(struct pipe_context *ctx, const struct pipe_draw_info *dinfo)
|
|||
}
|
||||
}
|
||||
|
||||
rctx->vs_so_stride_in_dw = rctx->vs_shader->so.stride;
|
||||
|
||||
mask = (1ULL << ((unsigned)rctx->framebuffer.nr_cbufs * 4)) - 1;
|
||||
|
||||
if (rctx->vgt.id != R600_PIPE_STATE_VGT) {
|
||||
|
|
Loading…
Reference in New Issue