Henri Verbeet : d3d8: Make the shader handle table a bit more generic.