commit | b95c4e6a1ce429589ef442589aeb5c32a756f09a | [log] [tgz] |
---|---|---|
author | jbauman@chromium.org <jbauman@chromium.org@736b8ea6-26fd-11df-bfd4-992fa37f6226> | Thu Jul 12 23:28:41 2012 +0000 |
committer | jbauman@chromium.org <jbauman@chromium.org@736b8ea6-26fd-11df-bfd4-992fa37f6226> | Thu Jul 12 23:28:41 2012 +0000 |
tree | ef94a1ae4e4691c911d4e4f2fd6bed2dafb2ae28 | |
parent | 2e2b923e35fa9f12cfe91ba151faba26618966b0 [diff] |
Scale up non-multiple-of-4 dxt textures D3D doesn't support DXT textures that aren't a multiple of 4 in size, so multiply the sizes by 2 or 4 so they work. Then ensure sampler parameters are set up correctly so they don't sample the unuploaded miplevels. BUG=https://code.google.com/p/angleproject/issues/detail?id=237 TEST= Review URL: https://codereview.appspot.com/6287045 git-svn-id: http://angleproject.googlecode.com/svn/trunk@1222 736b8ea6-26fd-11df-bfd4-992fa37f6226