mesa/st: handle running nir lower passes for ucp and psiz in tess stage
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Thu, 16 Jul 2020 13:39:16 +0000 (09:39 -0400)
committerMarge Bot <eric+marge@anholt.net>
Fri, 18 Dec 2020 16:06:05 +0000 (16:06 +0000)
commit7eb5fd98fd188c2765b80c278086e5a4382539a8
treed96ed43cfaa9e8a573839979993686abc37ca3d8
parentdb165e9db365c09645e7d690d22e6c199ab9934f
mesa/st: handle running nir lower passes for ucp and psiz in tess stage

if tess is the last shader program to run then we need to perform these
lowering passes at that time rather than during the vs

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5885>
src/mesa/state_tracker/st_atom_shader.c
src/mesa/state_tracker/st_context.c