From: Samuel Pitoiset Date: Tue, 25 Jun 2019 09:32:53 +0000 (+0200) Subject: radv/gfx10: implement radv_emit_tess_factor_ring() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3f5ca22e9c13815eeef36877069febc65c13c3f4;p=mesa.git radv/gfx10: implement radv_emit_tess_factor_ring() Signed-off-by: Samuel Pitoiset Reviewed-by: Bas Nieuwenhuizen --- diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index 8810e995f10..5248814c92b 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -2386,7 +2386,11 @@ radv_emit_tess_factor_ring(struct radv_queue *queue, struct radeon_cmdbuf *cs, S_030938_SIZE(tf_ring_size / 4)); radeon_set_uconfig_reg(cs, R_030940_VGT_TF_MEMORY_BASE, tf_va >> 8); - if (queue->device->physical_device->rad_info.chip_class >= GFX9) { + + if (queue->device->physical_device->rad_info.chip_class >= GFX10) { + radeon_set_uconfig_reg(cs, R_030984_VGT_TF_MEMORY_BASE_HI_UMD, + S_030984_BASE_HI(tf_va >> 40)); + } else if (queue->device->physical_device->rad_info.chip_class == GFX9) { radeon_set_uconfig_reg(cs, R_030944_VGT_TF_MEMORY_BASE_HI, S_030944_BASE_HI(tf_va >> 40)); }