mirror of
https://github.com/KhronosGroup/glslang
synced 2024-11-09 12:00:05 +00:00
20 lines
266 B
GLSL
20 lines
266 B
GLSL
|
|
||
|
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;
|
||
|
};
|
||
|
|