iris: Handle vertex shader with window space position
authorDanylo Piliaiev <danylo.piliaiev@globallogic.com>
Thu, 25 Jul 2019 10:09:08 +0000 (13:09 +0300)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 6 Aug 2019 20:25:35 +0000 (20:25 +0000)
commitb4c54894bba085966c52cb515bd72927e4ec4939
treefe1e54345468e38be6bf73778fb0de3b163f1da3
parentb783f9f77ee8787da41d7a675d128de4a8e49857
iris: Handle vertex shader with window space position

Iris advertises support for PIPE_CAP_TGSI_VS_WINDOW_SPACE_POSITION
so let's actually implement it.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=110657

Signed-off-by: Danylo Piliaiev <danylo.piliaiev@globallogic.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/gallium/drivers/iris/iris_context.h
src/gallium/drivers/iris/iris_program.c
src/gallium/drivers/iris/iris_state.c