[PATCH 1/5] wined3d: Pass wined3d_adapter to shader_get_caps().