<div dir="ltr"><div>This bug is only on Vega10 and Raven1.</div><div><br></div><div>Marek<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, May 1, 2019 at 10:10 AM Samuel Pitoiset <<a href="mailto:samuel.pitoiset@gmail.com">samuel.pitoiset@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">This chip doesn't need the fixup. This fixes a bunch of<br>
dEQP-VK.tessellation tests and avoid random GPU hangs.<br>
<br>
Cc: "19.0" <<a href="mailto:mesa-stable@lists.freedesktop.org" target="_blank">mesa-stable@lists.freedesktop.org</a>><br>
Signed-off-by: Samuel Pitoiset <<a href="mailto:samuel.pitoiset@gmail.com" target="_blank">samuel.pitoiset@gmail.com</a>><br>
---<br>
src/amd/vulkan/radv_nir_to_llvm.c | 1 +<br>
1 file changed, 1 insertion(+)<br>
<br>
diff --git a/src/amd/vulkan/radv_nir_to_llvm.c b/src/amd/vulkan/radv_nir_to_llvm.c<br>
index adf158e30e1..b4a19aa2e5d 100644<br>
--- a/src/amd/vulkan/radv_nir_to_llvm.c<br>
+++ b/src/amd/vulkan/radv_nir_to_llvm.c<br>
@@ -3691,6 +3691,7 @@ LLVMModuleRef ac_translate_nir_to_llvm(struct ac_llvm_compiler *ac_llvm,<br>
ac_init_exec_full_mask(&<a href="http://ctx.ac" rel="noreferrer" target="_blank">ctx.ac</a>);<br>
<br>
if (ctx.ac.chip_class == GFX9 &&<br>
+ ctx.ac.family != CHIP_VEGA20 &&<br>
shaders[shader_count - 1]->info.stage == MESA_SHADER_TESS_CTRL)<br>
ac_nir_fixup_ls_hs_input_vgprs(&ctx);<br>
<br>
-- <br>
2.21.0<br>
<br>
_______________________________________________<br>
mesa-dev mailing list<br>
<a href="mailto:mesa-dev@lists.freedesktop.org" target="_blank">mesa-dev@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/mesa-dev" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/mesa-dev</a></blockquote></div>