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