diff options
author | Brian Paul <[email protected]> | 2009-07-13 08:47:37 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-07-13 08:47:37 -0600 |
commit | 9615daa9324341f6a56932dc46b807f402d18283 (patch) | |
tree | 611f086092443717c44bc31f29bb0f311b0d9d24 /progs/glsl | |
parent | bb4c70358778f28f644ae493b5d8163e76e9fddb (diff) | |
parent | 680f7d09b00fdec0dbe5e357639d6b445bb9266e (diff) |
Merge branch 'mesa_7_5_branch'
Diffstat (limited to 'progs/glsl')
-rw-r--r-- | progs/glsl/reflect.vert | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/progs/glsl/reflect.vert b/progs/glsl/reflect.vert index 402be38bf7b..e1f22def339 100644 --- a/progs/glsl/reflect.vert +++ b/progs/glsl/reflect.vert @@ -11,6 +11,7 @@ void main() float two_n_dot_u = 2.0 * dot(n, u); vec4 f; f.xyz = u - n * two_n_dot_u; + f.w = 1.0; // outputs normal = n; |