diff options
author | Marek Olšák <maraeo@gmail.com> | 2012-10-05 04:59:50 +0200 |
---|---|---|
committer | Marek Olšák <maraeo@gmail.com> | 2012-10-10 00:16:42 +0200 |
commit | ab075de53baa9829780cc133e5ac06e5498a763c (patch) | |
tree | 13c225c22cd40002dc2dbf3c557ac1e66b71b3d8 /src/gallium/drivers/r600/r600_hw_context.c | |
parent | a50edc8ed84c4c48c0dc8e1a079e8d5e8f1c3a0e (diff) |
r600g: atomize polygon offset state
POLY_OFFSET_DB_FMT_CNTL is moved to the framebuffer state, because it only
depends on the zbuffer format.
Reviewed-by: Jerome Glisse <jglisse@redhat.com>
Diffstat (limited to 'src/gallium/drivers/r600/r600_hw_context.c')
-rw-r--r-- | src/gallium/drivers/r600/r600_hw_context.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/gallium/drivers/r600/r600_hw_context.c b/src/gallium/drivers/r600/r600_hw_context.c index 2b260c8d94a..e624187981f 100644 --- a/src/gallium/drivers/r600/r600_hw_context.c +++ b/src/gallium/drivers/r600/r600_hw_context.c @@ -233,12 +233,7 @@ static const struct r600_reg r600_context_reg_list[] = { {R_028A04_PA_SU_POINT_MINMAX, 0, 0}, {R_028A08_PA_SU_LINE_CNTL, 0, 0}, {R_028C08_PA_SU_VTX_CNTL, 0, 0}, - {R_028DF8_PA_SU_POLY_OFFSET_DB_FMT_CNTL, 0, 0}, {R_028DFC_PA_SU_POLY_OFFSET_CLAMP, 0, 0}, - {R_028E00_PA_SU_POLY_OFFSET_FRONT_SCALE, 0, 0}, - {R_028E04_PA_SU_POLY_OFFSET_FRONT_OFFSET, 0, 0}, - {R_028E08_PA_SU_POLY_OFFSET_BACK_SCALE, 0, 0}, - {R_028E0C_PA_SU_POLY_OFFSET_BACK_OFFSET, 0, 0}, {R_028350_SX_MISC, 0, 0}, {R_028380_SQ_VTX_SEMANTIC_0, 0, 0}, {R_028384_SQ_VTX_SEMANTIC_1, 0, 0}, @@ -867,6 +862,7 @@ void r600_begin_new_cs(struct r600_context *ctx) ctx->clip_state.atom.dirty = true; ctx->db_misc_state.atom.dirty = true; ctx->framebuffer.atom.dirty = true; + ctx->poly_offset_state.atom.dirty = true; ctx->vgt_state.atom.dirty = true; ctx->vgt2_state.atom.dirty = true; ctx->sample_mask.atom.dirty = true; |