commit | 89c9813b6fd3148d05fc2b6178864e8315fc7b80 | [log] [tgz] |
---|---|---|
author | zmo@google.com <zmo@google.com@736b8ea6-26fd-11df-bfd4-992fa37f6226> | Fri Jan 06 02:17:03 2012 +0000 |
committer | zmo@google.com <zmo@google.com@736b8ea6-26fd-11df-bfd4-992fa37f6226> | Fri Jan 06 02:17:03 2012 +0000 |
tree | f8b1112b87dc18e067c578e43d318a14b2004873 | |
parent | 9a4d112c28fe2f636d8ed9f327ca4382028eb33e [diff] |
Fix a bug in long variable name mapping. Originally we only match varying variables in vertex/fragment shaders. However, we should also match uniform names. For example, if a uniform variable name is used in both vertex and fragment shader, and after mapping the names are different, then the name mapping table is no longer 1:1. BUG=106638 (crbug) TEST=http://seanseefried.com/chrome-bug/simple-broken.html shows a magenta square Review URL: http://codereview.appspot.com/5520051 git-svn-id: https://angleproject.googlecode.com/svn/trunk@939 736b8ea6-26fd-11df-bfd4-992fa37f6226