| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| |
| | |
https://android.googlesource.com/platform/frameworks/compile/slang into 1.1
Android 4.2.2 release 1
|
| |\
| | |
| | |
| | |
| | | |
* commit '68c072cfbb2430b55478350ac74aa5279ae4d9be':
Fix overly strict check for float3 in structures.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
We were accidentally being too strict and generating an error for float3
in structures, even when they were not exported. This change restores the
original functionality.
Change-Id: I8f0b5881d670c37a23ca2efc575440a083befcbe
|
| | | | |
| | \ | |
| |\ \ \
| |_|/ /
|/| | /
| | |/
| |/| |
Change-Id: I10aa690a24bdda6d980ae5ab4f90ab5fa02ba165
|
|\ \ \
| |/ /
|/| | |
|
| |\ \ |
|
| | |\ \ |
|
|/ / / /
| | | |
| | | |
| | | |
| | | | |
Bug: 7318821
Change-Id: Ic043f75a1a1a2a6f4a0b6d90ab3f1d053012d8c7
|
| |_|/|
|/| | | |
|
| | |/|
| |/|/ |
|
| | |\ |
|
| | | |\ |
|
| | | | |\ |
|
| | | | | |\ |
|
| | | | | | |\ |
|
| | | | | | | |\ |
|
| | | | | | | | |\ |
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Change-Id: I8a9319c751c37f42d90476fd8de213a9a10bd07d
|
|\ \ \ \ \ \ \ \ \ \
| |/ / / / / / / / /
|/| | | | | | | | | |
|
| |/ / / / / / / /
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
bug 7318821
Change-Id: I7f5999a8c6e6c2eb55d1bb502033eb9be02e55a8
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
This change adds a new RSCheckAST class that is used to handle validation
of the final AST. The checks include existing RS checks (for accepted types)
and new checks for Filterscript (like disallowing pointers, unions and
> 32 bit types completely). The refactoring also fixes a subtle union bug
that existed in prior versions of llvm-rs-cc. We also add an implicit
pragma for "rs_fp_relaxed" by default on Filterscript.
Bug: 7166741
Change-Id: Ia077783b4caba0bbd89df2ab3827e9f4d1009eea
|
|/ / / / / / / /
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
This previously caused a segmentation fault in llvm-rs-cc. We were
improperly using the DiagnosticsEngine after we had reset() everything.
Bug: 7202787
Change-Id: Ic8522566ef257e70f16caf34b89f6a8e012908c5
|
|/ / / / / / /
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
The issue here is that all of our small Java primitive types (byte, short,
char) get promoted/passed as int. This in turn causes our setVar() to do
a 4-byte memcpy() instead of the proper (smaller) amount.
Bug: 6865598
Change-Id: I404c3bb6024686d1274229a73feec1e6c7e3fc7b
|
|/ / / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This change allows the JB-mr1+ target API to declare compute kernels
using "__attribute__((kernel))". This disables the use of pointers in the
function signature and forces any output to be explicitly returned and
input to be passed only by value. We still allow the user to add x, y
coordinates if they want them.
Bug: 7166741
Change-Id: I1407fceefb11c7d6c17221ca156cfce443c2b218
|
|\ \ \ \ \ \
| |/ / / / /
|/| | | | | |
|
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Adapt to use of ArrayRef instead of C array + length pairs for some
types of argument passing.
Change-Id: I133c059f32ae1b2e55ebb2473e642faa62d49714
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This change replaces the old 3-argument version of reflected ScriptC
constructors with a new single argument (just the RenderScript object).
We can do this safely because there are lookup functions for Resources
and resource IDs directly in the Android API (and accessible via the
RenderScript object). For now, we are still reflecting the legacy version
of the constructor as well, since all existing app source code would be
using it.
Change-Id: I362d6e2bea0f580630b5da9049df029b0f8d7620
|
|\ \ \ \
| |/ / /
|/| | | |
|
| |/ /
| | |
| | |
| | | |
Change-Id: Id3471daa7eee87c19c46dab8ffd972d52183440a
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
BUG=5609007
BUG=34600 (http://code.google.com/p/android/issues/detail?id=34600)
We forbid the use of things like float3 in exported structures for older
target APIs, because it results in a runtime exception every time. This is
due to not padding the elements appropriately on the driver-side, while the
LLVM representation is padded.
Change-Id: I297af3418e733f0ab3996999be4a8f746f24da40
|
|\ \
| | |
| | |
| | | |
functions." into jb-mr1-dev
|
| |/
| |
| |
| |
| |
| | |
BUG=6902660
Change-Id: I31f0f2b51026edf450e920a5dd49810f4b191eb0
|
|/
|
|
| |
Change-Id: I8a9319c751c37f42d90476fd8de213a9a10bd07d
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Usage:
llvm-rs-cc -rs-package-name=android.renderscript ...
or
llvm-rs-cc -rs-package-name android.renderscript ...
This allows us to reflect a different import path for our base RS classes.
The default value is "android.renderscript", resulting in a reflection that
produces "import android.renderscript.*;".
Change-Id: Icf7e83b963ba70c803899697f49b41fdfb9586e7
|
|
|
|
| |
Change-Id: I05078283396a9f85b176c930a9f6333f1d02bfae
|
|
|
|
| |
Change-Id: I666df2ff91532318883dd48ea1249178b2ebda81
|
|
|
|
|
|
| |
BUG=6902660
Change-Id: Ie4766fd6fe51eb4f6b195c91d44f27c3f6b83458
|
|
|
|
| |
Change-Id: I30e4212d7a5553534fae49be451d335de79bfcf3
|
|
|
|
| |
Change-Id: I7f80d124d11eeed776ce3acd520297fc0c3f08f6
|
|\
| |
| |
| | |
* commit '6b071c38cda21c679c18310a823c17dad32e8ea1':
|
| |\
| | |
| | |
| | | |
Change-Id: I979a9c3a28cf2b41f42ef66b5555f0efecbef672
|
| | |\ |
|
| | | |\
| | | |/
| | |/| |
|
|\| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
primitive types."
* commit 'fb6467b1b4d24add56845ae0c0a84fde04d3ede9':
Fix reflection of setters for unsigned primitive types.
|
| |\ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
* commit '07ab0292b39be7b1f0f9387300fa3382528cf621':
Fix reflection of setters for unsigned primitive types.
|
| | |\ \ \ |
|
| | |/ / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
BUG=6764163
We now generate set_*() functions for unsigned types by creating a single
element FieldPacker and stuffing it with the larger Dalvik type. Reusing
FieldPacker in this way allows us to validate that the input is non-negative
and within the appropriate range (i.e. not really using more bits than the
unsigned C type should).
This change also fixes a subtle race where the Dalvik and script side can
disagree about a variable's value. All set_*() methods need to be synchronized,
and we must do the Dalvik update after validating the input data.
Change-Id: I7b2371206848ebbf0b0752779cb6c98cec1ab5f6
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
BUG=6764163
We now generate set_*() functions for unsigned types by creating a single
element FieldPacker and stuffing it with the larger Dalvik type. Reusing
FieldPacker in this way allows us to validate that the input is non-negative
and within the appropriate range (i.e. not really using more bits than the
unsigned C type should).
This change also fixes a subtle race where the Dalvik and script side can
disagree about a variable's value. All set_*() methods need to be synchronized,
and we must do the Dalvik update after validating the input data.
Change-Id: I7b2371206848ebbf0b0752779cb6c98cec1ab5f6
|
|\ \ \ \
| | | | |
| | | | |
| | | | | |
Change-Id: I8d848c6cd34a68cb848e284bdc840e771a0f201c
|
| |\ \ \ \
| | | |/ /
| | |/| /
| | |_|/
| |/| | |
|