commit | 1b0de067a08c98fa82c0b1fa53047a2701ef6e48 | [log] [tgz] |
---|---|---|
author | daniel@transgaming.com <daniel@transgaming.com@736b8ea6-26fd-11df-bfd4-992fa37f6226> | Thu Dec 20 20:51:47 2012 +0000 |
committer | daniel@transgaming.com <daniel@transgaming.com@736b8ea6-26fd-11df-bfd4-992fa37f6226> | Thu Dec 20 20:51:47 2012 +0000 |
tree | 22ec58b5d79aa21f1747974782b72cd39f85af5b | |
parent | 0deeb8cda4eed337293b58765b73394a72480ec1 [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: https://angleproject.googlecode.com/svn/branches/dx11proto@1564 736b8ea6-26fd-11df-bfd4-992fa37f6226