commit | 6af5e0bec97c2369c29cfbbaf56046eecd218f7a | [log] [tgz] |
---|---|---|
author | Timothy Arceri <tarceri@itsqueeze.com> | Fri Oct 06 09:19:35 2017 +1100 |
committer | Timothy Arceri <tarceri@itsqueeze.com> | Mon Oct 16 09:06:53 2017 +1100 |
tree | 1b41b96cc153e1f3de036462279f8edf7e52e9f7 | |
parent | 3b59f5ca170a5459e2f7cd5a0d0142f6e15dde3c [diff] |
nir: add variant of lower_io_to_scalar to be called earlier This is intended to be called before nir_lower_io() so that we can do some linking optimisations with the results. It can also be used with drivers that don't use nir_lower_io() at all such as RADV. v2: pass mode mask rather than first and last stage integer. Reviewed-by: Eric Anholt <eric@anholt.net>