There are now several phases that use this information, so it would be helpful to collect it into one place.
Migrated to https://github.com/gpuweb/WHLSL/issues/213