This test is failing for me when run with wined3d (and native d3dcompiler), using the d3d11 backend, and I suspect it's because we are declaring a 1D texture in the shader but supplying a 2D texture.
Also, the test calls for shader model 5.0, but I believe that GetDimensions() is supported in 4.0?