summaryrefslogtreecommitdiff
path: root/cpp/RenderScript.cpp
diff options
context:
space:
mode:
authorPirama Arumuga Nainar <pirama@google.com>2016-04-13 10:44:08 -0700
committerPirama Arumuga Nainar <pirama@google.com>2016-04-15 10:17:38 -0700
commit2d1f74b5312fd758643562dbdc841c52c7326a62 (patch)
tree2d1c7d059e4046463ab6b69a6c36fe89203a1c81 /cpp/RenderScript.cpp
parent8a526e5d609e34a07aa0bc6312845ebdbd60c43e (diff)
Fix uninitialized fields in rsElement for composite data types
Bug: http://b/24142721 mBits and mBitsUnpadded are used to compute the size of an element. The Element::compute was not initializing them properly for composite data types, and thus returning zero as the size for a composite type within a composite type. Change-Id: I86240657c60b2007020ff3852c7d136d20a9ca89 (cherry picked from commit 8b3ca7f67231b4c27ef32d02fee1fe225306ab4f)
Diffstat (limited to 'cpp/RenderScript.cpp')
0 files changed, 0 insertions, 0 deletions