Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
deqp-deps
/
glslang
/
2cb2f197a7cad508d4fcda873aa01e2f736992b8
/
.
/
Test
/
hlsl.struct.split.trivial.geom
blob: 343da38e1ce087a8b693fcdd891a9a3434f5484d [
file
] [
log
] [
blame
]
struct
PS_IN
{
float4 pos
:
SV_Position
;
};
struct
GS_OUT
{
float4 pos
:
SV_Position
;
};
[
maxvertexcount
(
3
)]
void
main
(
triangle PS_IN i
[
3
],
inout
TriangleStream
<
GS_OUT
>
ts
)
{
GS_OUT o
;
for
(
int
x
=
0
;
x
<
3
;
++
x
)
{
o
.
pos
=
i
[
x
].
pos
;
ts
.
Append
(
o
);
}
}