summaryrefslogtreecommitdiff
path: root/cpp/RenderScript.cpp
diff options
context:
space:
mode:
authorYong Chen <yong.a.chen@intel.com>2014-08-14 18:28:38 +0800
committerNarayan Kamath <narayan@google.com>2014-08-19 16:33:35 +0000
commit444bd208b4f129bd8e4c0cce4cf6d709c8900891 (patch)
tree3eab96e6ec1721d673e606b7be91f055aff2c9ba /cpp/RenderScript.cpp
parent434098c79aa7b176b4ccc9e4572e3fe592be0fd6 (diff)
Explicitly accept RS large objects as references.
AArch64 promotes large objects to be passed by reference. As a result, if large objects as passed by value in rsdRuntimeStubs, the AArch64 kernel and an AArch64 rsdRuntimeStubs will have the same calling convention, both will promote, and everything will work. However, other architectures do not share this same behavior by promoting large object structs to being passed by reference. As a result, an AArch64 kernel and an x86_64 rsdRuntimeStubs will disagree on the calling convention, causing a crash. AArch64 continues to work despite this change because the calling conventions continue to line up, even if the rsdRuntimeStubs side explicitly uses pointers while the kernel side does not. bug: 16846318 Change-Id: I5bc29de5259eda26967f2b32980d40ce249f9599 Signed-off-by: Yong Chen <yong.a.chen@intel.com>
Diffstat (limited to 'cpp/RenderScript.cpp')
0 files changed, 0 insertions, 0 deletions