diff options
author | Kenneth Graunke <[email protected]> | 2013-09-03 21:23:18 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2013-09-09 14:42:33 -0700 |
commit | 722eff674b832e2321f791c68358ef52d2a1ff25 (patch) | |
tree | f50c7cdd2a303bc41307116e58faec1b88d33997 /src/glsl/builtins/ir/modf.ir | |
parent | c845140a20efa6a30a5465301d1f9b4acea79155 (diff) |
glsl: Delete old built-in function generation code.
None of this is used anymore.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Acked-by: Paul Berry <[email protected]>
Diffstat (limited to 'src/glsl/builtins/ir/modf.ir')
-rw-r--r-- | src/glsl/builtins/ir/modf.ir | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/src/glsl/builtins/ir/modf.ir b/src/glsl/builtins/ir/modf.ir deleted file mode 100644 index f4f631567bd..00000000000 --- a/src/glsl/builtins/ir/modf.ir +++ /dev/null @@ -1,37 +0,0 @@ -((function modf - (signature float - (parameters - (declare (in) float x) - (declare (out) float i)) - ((declare () float t) - (assign (x) (var_ref t) (expression float trunc (var_ref x))) - (assign (x) (var_ref i) (var_ref t)) - (return (expression float - (var_ref x) (var_ref t))))) - - (signature vec2 - (parameters - (declare (in) vec2 x) - (declare (out) vec2 i)) - ((declare () vec2 t) - (assign (xy) (var_ref t) (expression vec2 trunc (var_ref x))) - (assign (xy) (var_ref i) (var_ref t)) - (return (expression vec2 - (var_ref x) (var_ref t))))) - - (signature vec3 - (parameters - (declare (in) vec3 x) - (declare (out) vec3 i)) - ((declare () vec3 t) - (assign (xyz) (var_ref t) (expression vec3 trunc (var_ref x))) - (assign (xyz) (var_ref i) (var_ref t)) - (return (expression vec3 - (var_ref x) (var_ref t))))) - - (signature vec4 - (parameters - (declare (in) vec4 x) - (declare (out) vec4 i)) - ((declare () vec4 t) - (assign (xyzw) (var_ref t) (expression vec4 trunc (var_ref x))) - (assign (xyzw) (var_ref i) (var_ref t)) - (return (expression vec4 - (var_ref x) (var_ref t))))) -)) |