4df77d18bf57187f8e7142c6f7a70a9cdd3d581e |
|
31-Jan-2017 |
Yang Ni <yangni@google.com> |
SPIRIT: An in-memory IR for SPIR-V Bug: 30964317 This is a C++ programming interface to create, serialize, deserialize, and transform SPIR-V IR in memory. The current focus is to generate and manipulate SPIR-V for Vulkan compute shaders, which RSoV generates for RenderScript kernels. Test: Unit tests (gtest), i.e., ${ANDROID_BUILD_TOP}/out/host/linux-x86/nativetest64/libspirit_test/libspirit_test Change-Id: I5ae9aec72311402e1f6513cac33fdc7bc1001be5
/frameworks/rs/rsov/compiler/spirit/word_stream.cpp
|