projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01b39b0
)
glsl/builtins: Rename 'x' to 'y_over_x' in atan(float) implementation.
author
Kenneth Graunke
<kenneth@whitecape.org>
Sun, 31 Oct 2010 04:51:01 +0000
(21:51 -0700)
committer
Kenneth Graunke
<kenneth@whitecape.org>
Wed, 3 Nov 2010 20:39:41 +0000
(13:39 -0700)
For consistency with the vec2/vec3/vec4 variants.
src/glsl/builtins/ir/atan
patch
|
blob
|
history
diff --git
a/src/glsl/builtins/ir/atan
b/src/glsl/builtins/ir/atan
index 6dc99d74d37de0a751b5827a339334133b9bef8d..32f09d3c7a70df48e401928f834e7fb4df4c114b 100644
(file)
--- a/
src/glsl/builtins/ir/atan
+++ b/
src/glsl/builtins/ir/atan
@@
-1,14
+1,14
@@
((function atan
(signature float
(parameters
- (declare (in) float x))
+ (declare (in) float
y_over_
x))
((return (call asin ((expression float *
- (var_ref x)
+ (var_ref
y_over_
x)
(expression float rsq
(expression float +
(expression float *
- (var_ref x)
- (var_ref x))
+ (var_ref
y_over_
x)
+ (var_ref
y_over_
x))
(constant float (1.0))))))))))
(signature vec2