Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
deqp-deps
/
glslang
/
dbd4c3ce11a6f08eb6cb893602b5ed7f179a300a
/
.
/
Test
/
hlsl.synthesizeInput.frag
blob: c4b2fa4c82baf5f36562fb736cf5bc314dabb3f8 [
file
] [
log
] [
blame
]
John Kessenich
4329d55
2017-06-21 01:35:57 -0600
[
diff
] [
blame
]
1
struct
PSInput
{
2
float
interp
;
3
uint
no_interp
;
4
};
5
6
float4 main
(
PSInput
input
:
INPUT
)
:
SV_TARGET
7
{
8
return
float4
(
float
(
input
.
no_interp
),
input
.
interp
,
0
,
1
);
9
}