Sign in
android
/
platform
/
cts
/
7311411fe794ad49d8892b46f313d6c9386535ba
/
.
/
tests
/
src
/
android
/
renderscript
/
cts
/
hypot_f32_4.rs
blob: b23effe9bbb4fe2110ce0956491bca6991986513 [
file
] [
log
] [
blame
]
#
pragma version
(
1
)
#
pragma rs java_package_name
(
android
.
renderscript
.
cts
)
typedef
struct
hypot_f32_4_in
{
float4 x
;
float4 y
;
}
hypot_input_f32_4
;
void root
(
const
hypot_input_f32_4
*
in
,
float4
*
out
)
{
*
out
=
hypot
(
in
->
x
,
in
->
y
);
}