diff options
Diffstat (limited to 'src/glsl/builtins/ir/faceforward')
-rw-r--r-- | src/glsl/builtins/ir/faceforward | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/builtins/ir/faceforward b/src/glsl/builtins/ir/faceforward index d1703972388..35b79571c6b 100644 --- a/src/glsl/builtins/ir/faceforward +++ b/src/glsl/builtins/ir/faceforward @@ -4,7 +4,7 @@ (declare (in) float N) (declare (in) float I) (declare (in) float Nref)) - ((if (expression bool < (expression float dot (var_ref Nref) (var_ref I)) (constant float (0))) + ((if (expression bool < (expression float * (var_ref Nref) (var_ref I)) (constant float (0))) ((return (var_ref N))) ((return (expression float neg (var_ref N))))))) |