summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/glslang/src/Test/hlsl.precedence2.frag
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/glslang/src/Test/hlsl.precedence2.frag')
-rw-r--r--chromium/third_party/glslang/src/Test/hlsl.precedence2.frag9
1 files changed, 9 insertions, 0 deletions
diff --git a/chromium/third_party/glslang/src/Test/hlsl.precedence2.frag b/chromium/third_party/glslang/src/Test/hlsl.precedence2.frag
new file mode 100644
index 00000000000..0d3f583a819
--- /dev/null
+++ b/chromium/third_party/glslang/src/Test/hlsl.precedence2.frag
@@ -0,0 +1,9 @@
+int PixelShaderFunction(
+ int a1,
+ int a2,
+ int a3,
+ int a4
+ ) : COLOR0
+{
+ return (a1 * a2 + a3 << a4) + (a1 << a2 + a3 * a4);
+}