anv/pipeline: Fix up deref modes if we delete a FS output
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 28 Jun 2018 01:25:17 +0000 (18:25 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 2 Aug 2018 01:02:28 +0000 (18:02 -0700)
commit4d57e543b8e3bc0c5e0e6ced1f0d171a2cab3b8c
treee0d4d2e279dbdca448ecdfbaa4d94591e0fb26a7
parent7f75cf2a9408b9af562e033ef6c1d1fd15141421
anv/pipeline: Fix up deref modes if we delete a FS output

With the new deref instructions, we have to keep the modes consistent
between the derefs and the variables they reference.  Since we remove
outputs by changing them to local variables, we need to run the fixup
pass to fix the modes.

Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
src/intel/vulkan/anv_pipeline.c