Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
deqp-deps
/
glslang
/
771d89fc3607c19ba883009b9ff4d4e4ff2858c5
/
.
/
Test
/
hlsl.semicolons.frag
blob: 28fdedd99738f0e4d3c2e870ae8d560dde2b714b [
file
] [
log
] [
blame
]
void
MyFunc
()
{
}
;;;
;
;
;
;
// HLSL allows stray global scope semicolons.
void
MyFunc2
()
{;;;};
struct
PS_OUTPUT
{
float4 color
:
SV_Target0
;
};;;;;
;
PS_OUTPUT main
()
{
PS_OUTPUT ps_output
;;;
;
ps_output
.
color
=
1.0
;
return
ps_output
;
};