amd/common: fix loading InstanceID for tess on < GFX9
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 11 Jan 2018 13:56:07 +0000 (14:56 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 15 Jan 2018 10:59:16 +0000 (11:59 +0100)
commit5842cb0df1270cd347a12cc90be80354dc4d7c28
tree9e6996c754a5895bd62e92b4106b0b87671d3bb1
parent5ba1a61648e2dea96f621a5886ad8b937a471ab4
amd/common: fix loading InstanceID for tess on < GFX9

InstanceID is in VGPR2, not 1.

One more failure that CTS didn't catch up...

Reported-by: Alex Smith <asmith@feralinteractive.com>
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/common/ac_nir_to_llvm.c