DescriptionScale 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=
Committed: https://code.google.com/p/angleproject/source/detail?r=1222
Patch Set 1 #Patch Set 2 : Rebase against newer version #Patch Set 3 : Don't expand 4x4 or larger textures #Patch Set 4 : Only if less than 4x4 #
MessagesTotal messages: 5
|