From 574c53f551cb35173aee4acfa5c374613b953264 Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Tue, 19 Oct 2010 11:56:47 -0700 Subject: glsl: Add support for GLSL 1.30's modf built-in. --- src/glsl/builtins/profiles/130.frag | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/glsl/builtins/profiles/130.frag') diff --git a/src/glsl/builtins/profiles/130.frag b/src/glsl/builtins/profiles/130.frag index 96440703bd..0d860eb9ed 100644 --- a/src/glsl/builtins/profiles/130.frag +++ b/src/glsl/builtins/profiles/130.frag @@ -177,6 +177,11 @@ vec2 mod(vec2 x, vec2 y); vec3 mod(vec3 x, vec3 y); vec4 mod(vec4 x, vec4 y); +float modf(float x, out float i); +vec2 modf(vec2 x, out vec2 i); +vec3 modf(vec3 x, out vec3 i); +vec4 modf(vec4 x, out vec4 i); + float min(float x, float y); vec2 min(vec2 x, vec2 y); vec3 min(vec3 x, vec3 y); -- cgit v1.2.3