[PATCH 6/6] wined3d: Apply buffer barriers only to the relevant range.