diff options
author | Michal Krol <mjkrol@gmail.org> | 2006-09-26 11:43:30 +0000 |
---|---|---|
committer | Michal Krol <mjkrol@gmail.org> | 2006-09-26 11:43:30 +0000 |
commit | 16647b739baf9701e3d037fc7030f45e7bde5c7e (patch) | |
tree | 0fad25d1ae7e83d26c8bb638d73e367aafb6e08a /src/mesa/shader/slang/library/slang_builtin_120_common.gc | |
parent | a50b7dbc3ba1db8c92b4bbb4f7f06de8d6c039c4 (diff) |
Add syntax files for expression and directive preprocessor.
Fix syntax errors in builtin library 1.2 sources.
All derivative files (*_gc.h and *_syn.h) are generated by Makefile.
Diffstat (limited to 'src/mesa/shader/slang/library/slang_builtin_120_common.gc')
-rwxr-xr-x | src/mesa/shader/slang/library/slang_builtin_120_common.gc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/shader/slang/library/slang_builtin_120_common.gc b/src/mesa/shader/slang/library/slang_builtin_120_common.gc index 7e81c83415..c6264c3b47 100755 --- a/src/mesa/shader/slang/library/slang_builtin_120_common.gc +++ b/src/mesa/shader/slang/library/slang_builtin_120_common.gc @@ -1,6 +1,6 @@ /* * Mesa 3-D graphics library - * Version: 6.5 + * Version: 6.6 * * Copyright (C) 2006 Brian Paul All Rights Reserved. * @@ -80,7 +80,7 @@ mat4 outerProduct (vec4 c, vec4 r) { mat2x3 outerProduct (vec3 c, vec2 r) { return mat2x3 ( - c.x * r.x, c.y * r.x, c.z * r.x + c.x * r.x, c.y * r.x, c.z * r.x, c.x * r.y, c.y * r.y, c.z * r.y ); } @@ -105,7 +105,7 @@ mat4x2 outerProduct (vec2 c, vec4 r) { c.x * r.x, c.y * r.x, c.x * r.y, c.y * r.y, c.x * r.z, c.y * r.z, - c.x * r.w, c.y * r.w, + c.x * r.w, c.y * r.w ); } |