Sign in
android
/
platform
/
cts
/
a386a532d24f088d105f37cd95c2ea898c22abcc
/
.
/
tests
/
tests
/
renderscript
/
src
/
android
/
renderscript
/
cts
/
group1.rs
blob: f1172dc71926aa4f4f5a48c1632465bec08fc3ea [
file
] [
log
] [
blame
]
#
pragma version
(
1
)
#
pragma rs java_package_name
(
android
.
renderscript
.
cts
)
#
include
"shared.rsh"
rs_allocation aSharedInt
;
uint32_t
__attribute__
((
kernel
))
setSharedInt
(
uint32_t
x
)
{
if
(
x
==
1
)
{
rsSetElementAt_int
(
aSharedInt
,
-
5
,
0
);
}
return
x
;
}