From f7afcc3d11d170a4820a1e5defc9f3e26b2c7f7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Thu, 17 Jun 2021 11:26:25 -0400 Subject: [PATCH] radeonsi: remove incorrect comment about hangs in gfx10_ngg_gs_emit_epilogue Reviewed-by: Pierre-Eric Pelloux-Prayer Part-of: --- src/gallium/drivers/radeonsi/gfx10_shader_ngg.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/gallium/drivers/radeonsi/gfx10_shader_ngg.c b/src/gallium/drivers/radeonsi/gfx10_shader_ngg.c index ca88581215b..edfe0ee3645 100644 --- a/src/gallium/drivers/radeonsi/gfx10_shader_ngg.c +++ b/src/gallium/drivers/radeonsi/gfx10_shader_ngg.c @@ -1878,9 +1878,7 @@ void gfx10_ngg_gs_emit_epilogue(struct si_shader_context *ctx) ac_build_wg_scan(&ctx->ac, &vertlive_scan); - /* Skip all exports (including index exports) when possible. At least on - * early gfx10 revisions this is also to avoid hangs. - */ + /* Skip all exports (including index exports) when possible. */ LLVMValueRef have_exports = LLVMBuildICmp(builder, LLVMIntNE, vertlive_scan.result_reduce, ctx->ac.i32_0, ""); num_emit_threads = LLVMBuildSelect(builder, have_exports, num_emit_threads, ctx->ac.i32_0, "");