commit | daddb18339d7c6831c8d8fbaeb9c8d9949dfffaf | [log] [tgz] |
---|---|---|
author | shannonwoods@chromium.org <shannonwoods@chromium.org@736b8ea6-26fd-11df-bfd4-992fa37f6226> | Fri May 17 23:34:54 2013 |
committer | shannonwoods@chromium.org <shannonwoods@chromium.org@736b8ea6-26fd-11df-bfd4-992fa37f6226> | Fri May 17 23:34:54 2013 |
tree | ce08c651e9bf7d7742bec5e1c3dbee7f497dcaf0 | |
parent | 77f4fa5deac95b80cfe33e93569b524acb10e3ff [diff] |
Clamped negative index access. Fixed error that allowed negative index for accessing vector, matrix, and array. Now we report compile error and clamp the index to 0. Re-arranged code around it to handle negative index at the one location. BUG=crbug.com/239411 TEST=bug test case R=aedla@chromium.org, kbr@chromium.org Review URL: https://codereview.appspot.com/9193045 git-svn-id: http://angleproject.googlecode.com/svn/branches/dx11proto@2238 736b8ea6-26fd-11df-bfd4-992fa37f6226