Created attachment 625095 [details] [diff] [review] Use a 2D texture for gradient realizations. We currently use a 1D texture for gradient realizations and pretend in the shader it's 2D. This generates an Error from the D3D10 debug layer (although it appears to work fine). 1D textures are not supported in SM3.0 (i.e. non-D3D10 hardware), and since we're currently allowing D3D9 card users to force D2D the easiest solution is to use a 4096x1 2D texture. This patch makes that happen.
Sorry, had to back out the push for Win debug crashes: https://tbpl.mozilla.org/?tree=Mozilla-Inbound&rev=a693c64dc64e https://hg.mozilla.org/integration/mozilla-inbound/rev/b4e62a1e9809