ac/nir: Return frag_coord as integer.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Tue, 19 Mar 2019 00:29:43 +0000 (01:29 +0100)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Tue, 26 Mar 2019 08:41:15 +0000 (09:41 +0100)
commit82075e3c421b1de7661e61879f2dcbc66011e466
treed5e4dd39f913691a456d3fdda27a081c4404e6cd
parentc7c432738a68d543dc1b73eae895ec4dfacd92b2
ac/nir: Return frag_coord as integer.

To preserve the invariant that nir ssa defs are integers or pointers
in LLVM.

CC: <mesa-stable@lists.freedesktop.org>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/amd/common/ac_nir_to_llvm.c