commit | 6bd876dcaa4403b30eedd5ebe66bfadcef1f1a0c | [log] [tgz] |
---|---|---|
author | Jason Ekstrand <jason.ekstrand@intel.com> | Thu Oct 19 10:11:22 2017 -0700 |
committer | Jason Ekstrand <jason.ekstrand@intel.com> | Sat Dec 02 08:07:35 2017 -0800 |
tree | 769f3abfb15b350a4e878d01af9a243a6f2e2ffa | |
parent | f5aad36d2e5bd7d699cd6bbbfc8c9866c815f52e [diff] |
spirv: Only emit functions which are actually used Instead of emitting absolutely everything, just emit the few functions that are actually referenced in some way by the entrypoint. This should save us quite a bit of time when handed large shader modules containing many entrypoints. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>