<div dir="ltr">Tested-by: Alex Smith <<a href="mailto:asmith@feralinteractive.com" target="_blank">asmith@feralinteractive.com</a>></div><div class="gmail_extra"><br><div class="gmail_quote">On 15 December 2017 at 15:01, Samuel Pitoiset <span dir="ltr"><<a href="mailto:samuel.pitoiset@gmail.com" target="_blank">samuel.pitoiset@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">This reverts commit 2294d35b243dee15af15895e876a63<wbr>b7d22e48cc.<br>
<br>
We can't do this without adjusting the input SGPRs/VGPRs logic.<br>
For now, just revert it. I will send a proper solution later.<br>
<br>
It fixes a rendering issue in F1 2017 that CTS didn't catch up.<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_shader.c | 7 ++-----<br>
1 file changed, 2 insertions(+), 5 deletions(-)<br>
<br>
diff --git a/src/amd/vulkan/radv_shader.c b/src/amd/vulkan/radv_shader.c<br>
index ab8ba42511..f96b0c07f1 100644<br>
--- a/src/amd/vulkan/radv_shader.c<br>
+++ b/src/amd/vulkan/radv_shader.c<br>
@@ -395,11 +395,8 @@ radv_fill_shader_variant(<wbr>struct radv_device *device,<br>
case MESA_SHADER_COMPUTE: {<br>
struct ac_shader_info *info = &variant-><a href="http://info.info" rel="noreferrer" target="_blank">info.info</a>;<br>
variant->rsrc2 |=<br>
- S_00B84C_TGID_X_EN(info->cs.<wbr>uses_block_id[0]) |<br>
- S_00B84C_TGID_Y_EN(info->cs.<wbr>uses_block_id[1]) |<br>
- S_00B84C_TGID_Z_EN(info->cs.<wbr>uses_block_id[2]) |<br>
- S_00B84C_TIDIG_COMP_CNT(info-><wbr>cs.uses_thread_id[2] ? 2 :<br>
- info->cs.uses_thread_id[1] ? 1 : 0) |<br>
+ S_00B84C_TGID_X_EN(1) | S_00B84C_TGID_Y_EN(1) |<br>
+ S_00B84C_TGID_Z_EN(1) | S_00B84C_TIDIG_COMP_CNT(2) |<br>
S_00B84C_TG_SIZE_EN(info->cs.<wbr>uses_local_invocation_idx) |<br>
S_00B84C_LDS_SIZE(variant-><wbr>config.lds_size);<br>
break;<br>
<span class="HOEnZb"><font color="#888888">--<br>
2.15.1<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>
</font></span></blockquote></div><br></div>