ac: fix exclusive scans on GFX8-GFX9
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 21 Aug 2019 14:29:46 +0000 (16:29 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 22 Aug 2019 06:43:15 +0000 (08:43 +0200)
commit2d9f401a830693cd2a97a25ee49c0671606b1878
tree2cc24945c33183932110ef50349505b4636e356a
parentce8fd042a5b0130cc5c62981828b122127711712
ac: fix exclusive scans on GFX8-GFX9

This fixes a regression introduced with scan&reduce operations
on GFX10. Note that some subgroups CTS still fail on GFX10 but
I assume it's a different issue.

This fixes dEQP-VK.subgroups.arithmetic.*.subgroupexclusive*.

Fixes: 227c29a80de "amd/common/gfx10: implement scan & reduce operations"
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/common/ac_llvm_build.c