diff options
author | Michel Dänzer <[email protected]> | 2012-08-24 17:31:48 +0200 |
---|---|---|
committer | Michel Dänzer <[email protected]> | 2012-08-28 20:24:52 +0200 |
commit | 6ca64393c9f357160c8439bf7e73610641c6ded2 (patch) | |
tree | 793a5e915c383866c9844700be732a7869baf31a | |
parent | 999b7f66655c86eb8e8e1686631511e27f50cc98 (diff) |
radeonsi: Don't write to the PA_SC_RASTER_CONFIG register.
It should be initialized by the kernel as necessary.
Signed-off-by: Michel Dänzer <[email protected]>
Reviewed-by: Christian König <[email protected]>
-rw-r--r-- | src/gallium/drivers/radeonsi/si_state.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_state.c b/src/gallium/drivers/radeonsi/si_state.c index fced24cc4ec..b7a3cf45b13 100644 --- a/src/gallium/drivers/radeonsi/si_state.c +++ b/src/gallium/drivers/radeonsi/si_state.c @@ -286,7 +286,6 @@ static void si_set_viewport_state(struct pipe_context *ctx, viewport->viewport = *state; si_pm4_set_reg(pm4, R_0282D0_PA_SC_VPORT_ZMIN_0, 0x00000000); si_pm4_set_reg(pm4, R_0282D4_PA_SC_VPORT_ZMAX_0, 0x3F800000); - si_pm4_set_reg(pm4, R_028350_PA_SC_RASTER_CONFIG, 0x00000000); si_pm4_set_reg(pm4, R_02843C_PA_CL_VPORT_XSCALE_0, fui(state->scale[0])); si_pm4_set_reg(pm4, R_028440_PA_CL_VPORT_XOFFSET_0, fui(state->translate[0])); si_pm4_set_reg(pm4, R_028444_PA_CL_VPORT_YSCALE_0, fui(state->scale[1])); |