radv/gfx10: do not emit PA_SC_TILE_STEERING_OVERRIDE twice
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 19 Aug 2019 13:01:21 +0000 (15:01 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 20 Aug 2019 10:13:44 +0000 (12:13 +0200)
CLEAR_STATE emits it for us.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/si_cmd_buffer.c

index 42c7010ca8706a583ecb6eddf5cc29d2f18b0ab9..e37b9498a713e761a76785e690050c64eaae336c 100644 (file)
@@ -366,8 +366,6 @@ si_emit_graphics(struct radv_physical_device *physical_device,
                radeon_set_context_reg(cs, R_028C50_PA_SC_NGG_MODE_CNTL,
                                       S_028C50_MAX_DEALLOCS_IN_WAVE(512));
                radeon_set_context_reg(cs, R_028C58_VGT_VERTEX_REUSE_BLOCK_CNTL, 14);
-               radeon_set_context_reg(cs, R_02835C_PA_SC_TILE_STEERING_OVERRIDE,
-                                      physical_device->rad_info.pa_sc_tile_steering_override);
                radeon_set_context_reg(cs, R_02807C_DB_RMI_L2_CACHE_CONTROL,
                                       S_02807C_Z_WR_POLICY(V_02807C_CACHE_STREAM_WR) |
                                       S_02807C_S_WR_POLICY(V_02807C_CACHE_STREAM_WR) |