commit | 3523b2f99da3f443ab5e7e09061773c836b0e89b | [log] [tgz] |
---|---|---|
author | I-Jui (Ray) Sung <ijsung@google.com> | Thu Jan 19 17:18:23 2017 -0800 |
committer | I-Jui (Ray) Sung <ijsung@google.com> | Fri Jan 20 12:45:26 2017 -0800 |
tree | 38cafd0b51caa77284e9fd16688a39c8f102c54a | |
parent | d3797bc5043571c1112920a1df8ce8d1ded94b72 [diff] |
Strip non-kernel functions from RS2SPIRV compilation Added a pass to trim out non-kernel functions from the rest of SPIR-V compilation passes. Also changed/enforced the pass ordering so that dead globals exposed by this pass are removed prior of SPIR-V compilation. Bug: 30964317 Test: RSoV, RSTest, RSoV LIT tests on Angler Change-Id: I689758ae0977bca694341e948842b668f68caac8