commit | 48a8499c165c6527396d0059e82a716b194fa010 | [log] [tgz] |
---|---|---|
author | jbauman@chromium.org <jbauman@chromium.org@736b8ea6-26fd-11df-bfd4-992fa37f6226> | Wed Nov 28 00:10:38 2012 +0000 |
committer | jbauman@chromium.org <jbauman@chromium.org@736b8ea6-26fd-11df-bfd4-992fa37f6226> | Wed Nov 28 00:10:38 2012 +0000 |
tree | a1eabcca54802225b02a749f68274d6c46e0e785 | |
parent | 37d4bc0279fb710765731b802d3199ba4e63a15d [diff] |
Limit struct size to size of full shader constant. The HLSL compiler can optimize out the last elements of a struct, which caused ANGLE to overwrite constants right after the end of the struct. Each element in a struct should be limited by the size of the entire struct. BUG= Review URL: https://codereview.appspot.com/6856100 git-svn-id: http://angleproject.googlecode.com/svn/trunk@1394 736b8ea6-26fd-11df-bfd4-992fa37f6226