Stefan Dösinger : wined3d: No bounds checking is done on sampler / texture numbers.