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

« back to all changes in this revision

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

  • Committer: Package Import Robot
  • Author(s): Robert Hooker
  • Date: 2012-02-02 12:05:48 UTC
  • mfrom: (1.7.1) (3.3.27 sid)
  • Revision ID: package-import@ubuntu.com-20120202120548-nvkma85jq0h4coix
Tags: 8.0~rc2-0ubuntu4
Drop drisearchdir handling, it is no longer needed with multiarch
and dri-alternates being removed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
((function normalize
 
2
   (signature float
 
3
     (parameters
 
4
       (declare (in) float arg0))
 
5
     ((return (expression float sign (var_ref arg0)))))
 
6
 
 
7
   (signature vec2
 
8
     (parameters
 
9
       (declare (in) vec2 arg0))
 
10
     ((return (expression vec2 * (var_ref arg0) (expression float rsq (expression float dot (var_ref arg0) (var_ref arg0)))))))
 
11
 
 
12
   (signature vec3
 
13
     (parameters
 
14
       (declare (in) vec3 arg0))
 
15
     ((return (expression vec3 * (var_ref arg0) (expression float rsq (expression float dot (var_ref arg0) (var_ref arg0)))))))
 
16
 
 
17
   (signature vec4
 
18
     (parameters
 
19
       (declare (in) vec4 arg0))
 
20
     ((return (expression vec4 * (var_ref arg0) (expression float rsq (expression float dot (var_ref arg0) (var_ref arg0)))))))
 
21
))