iris: Face should be a system value.
authorTimur Kristóf <timur.kristof@gmail.com>
Wed, 13 Feb 2019 22:28:20 +0000 (00:28 +0200)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 11 Mar 2019 21:02:40 +0000 (14:02 -0700)
commitfd5075e0594ba13c24eb195e098a814c8e76249b
treea82bdad767288dce79cd521967b1ffdfa5c3067b
parent3a9e2d608563d6d305c63039396644f3b976a55d
iris: Face should be a system value.

This patch adds PIPE_CAP_TGSI_FS_FACE_IS_INTEGER_SYSVAL which
despite its name is not a TGSI-specific capability, just lets
the state tracker know that it should generate a system value
for FACE.

This is needed if we want to run tgsi_to_nir on iris.

Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/gallium/drivers/iris/iris_screen.c