summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_hw_context.c
diff options
context:
space:
mode:
authorMarek Olšák <marek.olsak@amd.com>2016-01-03 19:00:29 +0100
committerMarek Olšák <marek.olsak@amd.com>2016-02-09 21:19:51 +0100
commitb9126dcda834ba9cf58af32e97f4b5d93c9817a3 (patch)
tree7b47e4168772d247d51371f740e695a6164348fe /src/gallium/drivers/radeonsi/si_hw_context.c
parent4596f3c1b8bbcc83b841b6c7ea4a287a6f3210f7 (diff)
downloadexternal_mesa3d-b9126dcda834ba9cf58af32e97f4b5d93c9817a3.zip
external_mesa3d-b9126dcda834ba9cf58af32e97f4b5d93c9817a3.tar.gz
external_mesa3d-b9126dcda834ba9cf58af32e97f4b5d93c9817a3.tar.bz2
radeonsi: implement forcing per-sample_interpolation using the shader key only
It was partly a state and partly emulated by shader code, but since we want to do this in a fragment shader prolog, we need to put it into the shader key, which will be used to generate the prolog. This also removes the spi_ps_input states and moves the registers to the PS state. Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_hw_context.c')
-rw-r--r--src/gallium/drivers/radeonsi/si_hw_context.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_hw_context.c b/src/gallium/drivers/radeonsi/si_hw_context.c
index d60c451..b5a4034 100644
--- a/src/gallium/drivers/radeonsi/si_hw_context.c
+++ b/src/gallium/drivers/radeonsi/si_hw_context.c
@@ -182,7 +182,6 @@ void si_begin_new_cs(struct si_context *ctx)
si_mark_atom_dirty(ctx, &ctx->db_render_state);
si_mark_atom_dirty(ctx, &ctx->stencil_ref.atom);
si_mark_atom_dirty(ctx, &ctx->spi_map);
- si_mark_atom_dirty(ctx, &ctx->spi_ps_input);
si_mark_atom_dirty(ctx, &ctx->b.streamout.enable_atom);
si_mark_atom_dirty(ctx, &ctx->b.render_cond_atom);
si_all_descriptors_begin_new_cs(ctx);