radv: mark all tess output for an indirect access.
authorDave Airlie <airlied@redhat.com>
Wed, 14 Mar 2018 00:21:46 +0000 (10:21 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 14 Mar 2018 01:18:54 +0000 (11:18 +1000)
commit27a5e5366e89498d98d786cc84fafbdb220c4d94
treec53284e666b6be67c95771ac20b64f76816e8851
parent4f0c89d66c570e82d832e2e49227517302e271a2
radv: mark all tess output for an indirect access.

If a shader does a tcs store with an indirect access, we
were only marking the first spot as used. For indirect access
we always now mark all slots used by the variable.

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=105464
Fixes: 94f9591995 (radv/ac: add support for TCS/TES inputs/outputs.)
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_nir_to_llvm.c