<div dir="auto">That's a fix for a hw bug afaik, so nak</div><div class="gmail_extra"><br><div class="gmail_quote">On 9 Oct. 2017 7:25 pm, "Samuel Pitoiset" <<a href="mailto:samuel.pitoiset@gmail.com">samuel.pitoiset@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Found by inspection.<br>
<br>
Signed-off-by: Samuel Pitoiset <<a href="mailto:samuel.pitoiset@gmail.com">samuel.pitoiset@gmail.com</a>><br>
---<br>
src/amd/vulkan/radv_cmd_<wbr>buffer.c | 3 ---<br>
1 file changed, 3 deletions(-)<br>
<br>
diff --git a/src/amd/vulkan/radv_cmd_<wbr>buffer.c b/src/amd/vulkan/radv_cmd_<wbr>buffer.c<br>
index f3a0a012c5..02a045aa02 100644<br>
--- a/src/amd/vulkan/radv_cmd_<wbr>buffer.c<br>
+++ b/src/amd/vulkan/radv_cmd_<wbr>buffer.c<br>
@@ -684,9 +684,6 @@ radv_emit_hw_ls(struct radv_cmd_buffer *cmd_buffer,<br>
radeon_emit(cmd_buffer->cs, va >> 40);<br>
<br>
rsrc2 |= S_00B52C_LDS_SIZE(cmd_buffer-><wbr>state.pipeline->graphics.tess.<wbr>lds_size);<br>
- if (cmd_buffer->device->physical_<wbr>device->rad_info.chip_class == CIK &&<br>
- cmd_buffer->device->physical_<wbr>device->rad_info.family != CHIP_HAWAII)<br>
- radeon_set_sh_reg(cmd_buffer-><wbr>cs, R_00B52C_SPI_SHADER_PGM_RSRC2_<wbr>LS, rsrc2);<br>
<br>
radeon_set_sh_reg_seq(cmd_<wbr>buffer->cs, R_00B528_SPI_SHADER_PGM_RSRC1_<wbr>LS, 2);<br>
radeon_emit(cmd_buffer->cs, shader->rsrc1);<br>
--<br>
2.14.2<br>
<br>
______________________________<wbr>_________________<br>
mesa-dev mailing list<br>
<a href="mailto:mesa-dev@lists.freedesktop.org">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/<wbr>mailman/listinfo/mesa-dev</a><br>
</blockquote></div></div>