st/nir: fix arb fragment stage conversion
authorDave Airlie <airlied@redhat.com>
Tue, 23 Jul 2019 00:40:05 +0000 (10:40 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 23 Jul 2019 01:00:53 +0000 (11:00 +1000)
commit365f24705f9703962b6749f4fafe7cd92d9c60b1
treecdd51ae228716603c62afca3e61e231ea7fe59c5
parentcb9eb1834d8fee07d15c407829923d8b074c89ec
st/nir: fix arb fragment stage conversion

The comment even justifies the wrongness wrongly.

We should be translating to pipe values properly here or else
fragment maps to tess ctrl.

Fixes: 3d7611e9a6c ("st/nir: use NIR for asm programs")
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/state_tracker/st_program.c