diff options
Diffstat (limited to '3rdparty/bgfx/3rdparty/glslang/Test/hlsl.scope.frag')
-rw-r--r-- | 3rdparty/bgfx/3rdparty/glslang/Test/hlsl.scope.frag | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/3rdparty/bgfx/3rdparty/glslang/Test/hlsl.scope.frag b/3rdparty/bgfx/3rdparty/glslang/Test/hlsl.scope.frag new file mode 100644 index 00000000000..a5309ca2a6d --- /dev/null +++ b/3rdparty/bgfx/3rdparty/glslang/Test/hlsl.scope.frag @@ -0,0 +1,30 @@ +void PixelShaderFunction(float4 input) : COLOR0 +{ + int x; + x; + { + float x; + x; + { + bool x; + x; + { + float3 x; + x; + } + x; + } + x; + } + x; + + if (x > 0) + bool x; + + while (x > 0) + bool x; + + do { + bool x; + } while (x > 0); +} |