[PATCH 2/5] wined3d: Introduce wined3d_get_output_count().