summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/tests/warnings/013-lsassign.vert
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/glsl/tests/warnings/013-lsassign.vert')
-rw-r--r--src/compiler/glsl/tests/warnings/013-lsassign.vert12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/compiler/glsl/tests/warnings/013-lsassign.vert b/src/compiler/glsl/tests/warnings/013-lsassign.vert
new file mode 100644
index 00000000000..f2b49e2e409
--- /dev/null
+++ b/src/compiler/glsl/tests/warnings/013-lsassign.vert
@@ -0,0 +1,12 @@
+#version 130
+
+void main()
+{
+ int defined = 2;
+ int undefined;
+ int fooInt;
+
+ fooInt >>= undefined;
+ fooInt >>= defined;
+}
+