~ubuntu-branches/ubuntu/precise/mesa-lts-quantal/precise-updates

« back to all changes in this revision

Viewing changes to src/glsl/builtins/ir/isinf.ir

  • Committer: Package Import Robot
  • Author(s): Maarten Lankhorst
  • Date: 2012-11-30 20:58:34 UTC
  • Revision ID: package-import@ubuntu.com-20121130205834-gazuvne3fpwlf012
Tags: upstream-9.0
ImportĀ upstreamĀ versionĀ 9.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
((function isinf
 
2
   (signature bool
 
3
     (parameters
 
4
       (declare (in) float x))
 
5
     ((return (expression bool == (expression float abs (var_ref x)) (constant float (+INF))))))
 
6
   (signature bvec2
 
7
     (parameters
 
8
       (declare (in) vec2 x))
 
9
     ((return (expression bvec2 == (expression vec2 abs (var_ref x)) (constant vec2 (+INF +INF))))))
 
10
   (signature bvec3
 
11
     (parameters
 
12
       (declare (in) vec3 x))
 
13
     ((return (expression bvec3 == (expression vec3 abs (var_ref x)) (constant vec3 (+INF +INF +INF))))))
 
14
   (signature bvec4
 
15
     (parameters
 
16
       (declare (in) vec4 x))
 
17
     ((return (expression bvec4 == (expression vec4 abs (var_ref x)) (constant vec4 (+INF +INF +INF +INF))))))))