gallium/nir/tgsi: only scan fragment shader inputs for usage_mask
authorDave Airlie <airlied@redhat.com>
Mon, 17 Feb 2020 07:13:58 +0000 (17:13 +1000)
committerDave Airlie <airlied@redhat.com>
Fri, 28 Feb 2020 08:33:34 +0000 (18:33 +1000)
commita3257ae7bec68d57e79928eb202cd522d708e720
tree9145186226d2572b3b2f4e5867b1e79d6206886a
parentdacf8f5f5c82c18e841050af37db54ca21c026ee
gallium/nir/tgsi: only scan fragment shader inputs for usage_mask

The scanner doesn't work with tess shaders, but we don't need it for those,
in fact only frag shaders need it.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3841>
src/gallium/auxiliary/nir/nir_to_tgsi_info.c