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: