i915g: Handle fragment depth being in OUT[1] not OUT[0].
authorEmma Anholt <emma@anholt.net>
Sun, 13 Jun 2021 16:39:23 +0000 (09:39 -0700)
committerMarge Bot <eric+marge@anholt.net>
Fri, 18 Jun 2021 04:30:43 +0000 (04:30 +0000)
commit934d2c8f7f51d6e148e2b034e88a5eb6e1b9c98a
tree1754a78fa4c399cc2f9faefa3aa130e45d344c84
parent026452fe466f2537ce2496efd008b16d1be5053b
i915g: Handle fragment depth being in OUT[1] not OUT[0].

Prevents regressions when switching to nir-to-tgsi which orders the
outputs differently.

Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11329>
src/gallium/drivers/i915/i915_fpc_translate.c