diff options
Diffstat (limited to 'chromium/third_party/glslang/src/Test/hlsl.scope.frag')
-rw-r--r-- | chromium/third_party/glslang/src/Test/hlsl.scope.frag | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/chromium/third_party/glslang/src/Test/hlsl.scope.frag b/chromium/third_party/glslang/src/Test/hlsl.scope.frag new file mode 100644 index 00000000000..0d8cc1ad98d --- /dev/null +++ b/chromium/third_party/glslang/src/Test/hlsl.scope.frag @@ -0,0 +1,30 @@ +float4 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); +} |