Sign in
fuchsia
/
third_party
/
glslang
/
refs/heads/upstream/GL_EXT_buffer_reference_uvec2
/
.
/
Test
/
hlsl.int.dot.frag
blob: c293dc14b8ea4ecca02fc87dfc65a81afc67dd69 [
file
] [
log
] [
blame
] [
edit
]
float4 main
()
:
SV_Target
{
int
i
=
1
;
int1 i2
=
2
;
int2 i3
=
3
;
int3 i4
=
4
;
int4 i5
=
5
;
i
=
dot
(
i
,
i
);
i2
=
dot
(
i2
,
i2
);
i3
=
dot
(
i3
,
i3
);
i4
=
dot
(
i4
,
i4
);
i5
=
dot
(
i5
,
i5
);
return
i
+
i2
.
xxxx
+
i3
.
xyxy
+
i4
.
xyzx
+
i5
;
}