radv: Only use 32 KiB per threadgroup on Stoney.
authorBas Nieuwenhuizen <basni@chromium.org>
Mon, 14 Jan 2019 13:44:15 +0000 (14:44 +0100)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Mon, 14 Jan 2019 19:58:27 +0000 (19:58 +0000)
commit76b12fa564a5f48e3f2264718dea0158d0c05b4c
treefa642109e9575a1f4c193ae6a2353f886a3214a3
parent76df5e8f527d9a5ff319a433dc07a4e32f3924f5
radv: Only use 32 KiB per threadgroup on Stoney.

Causes hangs on some machines.

What works for dEQP-VK.tessellation.shader_input_output.barrier:

- running num_patches = 6 (which limits LDS to 32 KiB)
- running num_patches = 8, and artificially cutting LDS size at 32 KiB.

CC: <mesa-stable@lists.freedesktop.org>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/amd/vulkan/radv_nir_to_llvm.c