bf22a8ab4f46a98ee37f95fc0402744132cc3ed2 |
|
07-Feb-2017 |
Yang Ni <yangni@google.com> |
Rewrite rs2spirv using spirit Bug: 30964317 Rewrote the wrapper generation and builtin/runtime function translation passes in rs2spirv using spirit. Also added support for about a dozen more floating-point builtin math functions. Added support for new-style root kernel with lit test. Added check for old-style kernels with lit test. Updated existing lit tests since generated code are slightly different, mostly on temp names. Added SPIR-V validation to all lit tests. Updated the RSoV driver to work with the new spirit-based compiler. The entry point is now named entry_<kernel name>. Fixed an issue with multi-input kernel, so that the type count is correctly set. Minor cleanup to destroy descriptor sets after a kernel launch and to remove an outdated comment. Test: lit tests and RSoVTest Change-Id: I07b5957667892e532dcbc2da98ed38fe783af5e9
/frameworks/rs/rsov/compiler/tests/rs2spirv_lit_driver.sh
|
5802e6279a13949aec3f0e12c0a00a2aed170f0f |
|
28-Nov-2016 |
David Gross <dgross@google.com> |
rs2spirv: Fail gracefully when we find a type we cannot handle. Before this fix we get a segmentation violation. Also modified rs2spirv_lit_driver.sh to handle compilation failures gracefully -- needed because this CL adds a test for a graceful compilation failure. Bug: http://b/33055525 Test: frameworks/rs/rsov/compiler/tests/run-lit-tests.sh Change-Id: I5ac4b43e228211796d6ed2e52e5c3415f52256f8
/frameworks/rs/rsov/compiler/tests/rs2spirv_lit_driver.sh
|
6749f541c20e86f5deb6fd421ed5849ef43c275c |
|
08-Nov-2016 |
Yang Ni <yangni@google.com> |
Initial backend compiler for RSoV Bug: 30964317 This compiler compiles RenderScript LLVM bitcode into SPIR-V. This was done by Jakub Kuderski as part of his 2016 summer internship at Google. Test: build Change-Id: I395cdab2b97451b9e0a9b866af2d112ead73ab72
/frameworks/rs/rsov/compiler/tests/rs2spirv_lit_driver.sh
|