diff options
author | Ian Romanick <[email protected]> | 2010-09-01 21:23:52 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2010-09-09 15:39:52 -0700 |
commit | 1f3c7d968c4313dbb71bc93306556cc9292d06ef (patch) | |
tree | b596827a1cb1f9c797457603f521fd185a9dc044 /src/glsl/builtins/ir/noise1 | |
parent | 2b70dbfe091af5ae7c788e16275e1af2cb1c284c (diff) |
glsl2: Implement noise[1234] built-in functions using ir_unop_noise
Diffstat (limited to 'src/glsl/builtins/ir/noise1')
-rw-r--r-- | src/glsl/builtins/ir/noise1 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/glsl/builtins/ir/noise1 b/src/glsl/builtins/ir/noise1 index eb7be358575..115505610a6 100644 --- a/src/glsl/builtins/ir/noise1 +++ b/src/glsl/builtins/ir/noise1 @@ -2,17 +2,17 @@ (signature float (parameters (declare (in) float x)) - ((return (constant float (0))))) + ((return (expression float noise (var_ref x))))) (signature float (parameters (declare (in) vec2 x)) - ((return (constant float (0))))) + ((return (expression float noise (var_ref x))))) (signature float (parameters (declare (in) vec3 x)) - ((return (constant float (0))))) + ((return (expression float noise (var_ref x))))) (signature float (parameters (declare (in) vec4 x)) - ((return (constant float (0))))) + ((return (expression float noise (var_ref x))))) )) |