nir: fill outputs_read field and add patch outputs read (v2)
authorDave Airlie <airlied@redhat.com>
Tue, 14 Nov 2017 05:10:44 +0000 (15:10 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 27 Nov 2017 03:50:03 +0000 (13:50 +1000)
commit33dca36f4f28411ed4846786a6fbe049193b2711
treec5c4c023067fb5a437807cfc20b2c604306a4141
parentfd301472bdb364fafb01f2c3ebe9be375636cd45
nir: fill outputs_read field and add patch outputs read (v2)

This is to be used for TCS optimisations on radv.

v2: don't set written on reads (nha)

Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
src/compiler/nir/nir_gather_info.c
src/compiler/shader_info.h