Henri Verbeet : wined3d: Store resource types instead of sampler types in struct wined3d_shader_reg_maps.