diff options
author | Marek Olšák <[email protected]> | 2012-09-10 19:28:34 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2012-09-13 20:18:44 +0200 |
commit | 605fd0c14abf14ed500b95dc957d762726243df8 (patch) | |
tree | 2e0334dcf204305b148e9870233b9e627c183ee5 /src/gallium/drivers/r600/r600_hw_context.c | |
parent | 63bf0f905ae9c8cc0dea9ebbde9dc59d83a3a94f (diff) |
r600g: atomize viewport state
Reviewed-by: Jerome Glisse <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/r600_hw_context.c')
-rw-r--r-- | src/gallium/drivers/r600/r600_hw_context.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/gallium/drivers/r600/r600_hw_context.c b/src/gallium/drivers/r600/r600_hw_context.c index af03916632b..207ccc3d853 100644 --- a/src/gallium/drivers/r600/r600_hw_context.c +++ b/src/gallium/drivers/r600/r600_hw_context.c @@ -360,12 +360,6 @@ static const struct r600_reg r600_context_reg_list[] = { {R_028208_PA_SC_WINDOW_SCISSOR_BR, 0, 0}, {R_028250_PA_SC_VPORT_SCISSOR_0_TL, 0, 0}, {R_028254_PA_SC_VPORT_SCISSOR_0_BR, 0, 0}, - {R_02843C_PA_CL_VPORT_XSCALE_0, 0, 0}, - {R_028440_PA_CL_VPORT_XOFFSET_0, 0, 0}, - {R_028444_PA_CL_VPORT_YSCALE_0, 0, 0}, - {R_028448_PA_CL_VPORT_YOFFSET_0, 0, 0}, - {R_02844C_PA_CL_VPORT_ZSCALE_0, 0, 0}, - {R_028450_PA_CL_VPORT_ZOFFSET_0, 0, 0}, {R_0286D4_SPI_INTERP_CONTROL_0, 0, 0}, {R_028810_PA_CL_CLIP_CNTL, 0, 0}, {R_028814_PA_SU_SC_MODE_CNTL, 0, 0}, @@ -1050,6 +1044,7 @@ void r600_begin_new_cs(struct r600_context *ctx) r600_atom_dirty(ctx, &ctx->db_misc_state.atom); r600_atom_dirty(ctx, &ctx->sample_mask.atom); r600_atom_dirty(ctx, &ctx->stencil_ref.atom); + r600_atom_dirty(ctx, &ctx->viewport.atom); if (ctx->chip_class <= R700) { r600_atom_dirty(ctx, &ctx->seamless_cube_map.atom); |