From: Samuel Pitoiset Date: Wed, 31 Jul 2019 07:39:22 +0000 (+0200) Subject: radv/gfx10: remove an obsolete VGT_REUSE_OFF workaround X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9a3fc7b6fab35b85c2ef1f3ee8257bc838357de4;p=mesa.git radv/gfx10: remove an obsolete VGT_REUSE_OFF workaround Signed-off-by: Samuel Pitoiset Reviewed-by: Bas Nieuwenhuizen --- diff --git a/src/amd/vulkan/radv_pipeline.c b/src/amd/vulkan/radv_pipeline.c index 4d4f86a7e24..b3952846f43 100644 --- a/src/amd/vulkan/radv_pipeline.c +++ b/src/amd/vulkan/radv_pipeline.c @@ -3641,12 +3641,6 @@ radv_pipeline_generate_hw_ngg(struct radeon_cmdbuf *ctx_cs, S_028A84_PRIMITIVEID_EN(es_enable_prim_id) | S_028A84_NGG_DISABLE_PROVOK_REUSE(es_enable_prim_id)); - bool vgt_reuse_off = pipeline->device->physical_device->rad_info.family == CHIP_NAVI10 && - pipeline->device->physical_device->rad_info.chip_external_rev == 0x1 && - es_type == MESA_SHADER_TESS_EVAL; - - radeon_set_context_reg(ctx_cs, R_028AB4_VGT_REUSE_OFF, - S_028AB4_REUSE_OFF(vgt_reuse_off)); radeon_set_context_reg(ctx_cs, R_028AAC_VGT_ESGS_RING_ITEMSIZE, ngg_state->vgt_esgs_ring_itemsize);