diff options
author | John Kessenich <cepheus@frii.com> | 2013-04-05 04:05:39 +0000 |
---|---|---|
committer | John Kessenich <cepheus@frii.com> | 2013-04-05 04:05:39 +0000 |
commit | ebeeece6a7c84b468982985a464f12f77b34e155 (patch) | |
tree | 200cc025b14327894b6bcb1c708c253eac8fa7f5 /Test/precision.frag | |
parent | ae722a6230e7637607e52f0796d1d73a9c06bb70 (diff) | |
download | glslang-ebeeece6a7c84b468982985a464f12f77b34e155.tar.gz |
Add uint type (big change). For both int/uint, add the operators >>, <<, &, |, and ^. Also added unsigned literals and uint precision support. Also fixed how int/uint literal underflow/overflow is handled.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@21054 e7fa87d3-cd2b-0410-9028-fcbf551c1848
Diffstat (limited to 'Test/precision.frag')
-rw-r--r-- | Test/precision.frag | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Test/precision.frag b/Test/precision.frag index c9b1d7ab..c4339ae0 100644 --- a/Test/precision.frag +++ b/Test/precision.frag @@ -10,7 +10,11 @@ lowp vec2 foo(mediump vec3 mv3) int global_medium;
-precision highp int;
+precision highp int;
+precision highp ivec2; // ERROR
+precision mediump int[2]; // ERROR
+precision lowp uint; // ERROR
+precision mediump vec4; // ERROR
int global_high;
|