r600/sfn: Force a minimum of 4 GPRs, it seems to fix atomics
authorGert Wollny <gert.wollny@collabora.com>
Wed, 20 May 2020 22:03:34 +0000 (00:03 +0200)
committerGert Wollny <gw.fossdev@gmail.com>
Sun, 9 Aug 2020 13:45:36 +0000 (13:45 +0000)
commit834a61df4ed4257ca4bb69fed6664c80cc726f82
treeb9f0bef28b571c1265dcbd2f446f83d818a605f0
parent3e3068a76a6b7890a421a5537befd673349c98eb
r600/sfn: Force a minimum of 4 GPRs, it seems to fix atomics

This fixes spec@arb_compute_shader@execution@atomic-counter on
HD 5450

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6025>
src/gallium/drivers/r600/sfn/sfn_nir.cpp