st/nine: Use TGSI_SEMANTIC_GENERIC for fog
authorAxel Davy <davyaxel0@gmail.com>
Tue, 9 Apr 2019 20:52:28 +0000 (22:52 +0200)
committerAxel Davy <davyaxel0@gmail.com>
Tue, 30 Apr 2019 17:18:52 +0000 (19:18 +0200)
commit92117c989ca46ec01b58aec630bcca8cab1e8d15
treeb0b59ef1bd68fc1371614f758432098da2d2481e
parentbade3bf6153ecf7adda445a50b0b7009f63e367e
st/nine: Use TGSI_SEMANTIC_GENERIC for fog

We used TGSI_SEMANTIC_FOG for fog,
however on vs/ps 3, fog is allowed to have
4 components (even on the ff pipeline according
to a wine test).
Since gallium's TGSI_SEMANTIC_FOG has only one
component, use TGSI_SEMANTIC_GENERIC instead.

Fixes:
https://github.com/iXit/Mesa-3D/issues/346

Signed-off-by: Axel Davy <davyaxel0@gmail.com>
src/gallium/state_trackers/nine/nine_ff.c
src/gallium/state_trackers/nine/nine_shader.c