First Commit
This commit is contained in:
19
externals/glslang/Test/hlsl.semicolons.frag
vendored
Normal file
19
externals/glslang/Test/hlsl.semicolons.frag
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
|
||||
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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user