radeonsi/nir: Only set window_space_position for vertex shaders.
authorTimur Kristóf <timur.kristof@gmail.com>
Thu, 7 Mar 2019 07:19:02 +0000 (08:19 +0100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Fri, 8 Mar 2019 00:39:45 +0000 (00:39 +0000)
commitb0c214cceeada1e5d4afa89b1ce819c79d8b8c5b
tree000d3881c75d981bfaac29b5d6781000fefe1783
parent1664de5924aa6d761be21afdee411654121515d1
radeonsi/nir: Only set window_space_position for vertex shaders.

By mistake, this was previously set for all shaders.
It is a vertex shader property so only makes sense to
set it for vertex shaders.

Signed-Off-By: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-By: Timothy Arceri <tarceri@itsqueeze.com>
Tested-by: Dieter Nützel <Dieter@nuetzel-hh.de>
src/gallium/drivers/radeonsi/si_shader_nir.c