summaryrefslogtreecommitdiffstats
path: root/src/glsl/builtins/profiles/130.vert
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2010-10-14 13:40:26 -0700
committerKenneth Graunke <[email protected]>2010-10-14 15:59:47 -0700
commit6dc204c5dc723bbf9337aa7787cd6cc309a24285 (patch)
treee5de4dfe586bc65ff128498ef18a410a481eaa4c /src/glsl/builtins/profiles/130.vert
parentd85d25dd1f4fd281bd210ba6ba5135ba1e3b535f (diff)
glsl: Add front-end support for GLSL 1.30's roundEven built-in.
Implemented using the op-code introduced in the previous commit.
Diffstat (limited to 'src/glsl/builtins/profiles/130.vert')
-rw-r--r--src/glsl/builtins/profiles/130.vert5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/glsl/builtins/profiles/130.vert b/src/glsl/builtins/profiles/130.vert
index d5674c27e2c..9d1056f282f 100644
--- a/src/glsl/builtins/profiles/130.vert
+++ b/src/glsl/builtins/profiles/130.vert
@@ -148,6 +148,11 @@ vec2 trunc(vec2 x);
vec3 trunc(vec3 x);
vec4 trunc(vec4 x);
+float roundEven(float x);
+vec2 roundEven(vec2 x);
+vec3 roundEven(vec3 x);
+vec4 roundEven(vec4 x);
+
float ceil(float x);
vec2 ceil(vec2 x);
vec3 ceil(vec3 x);