[PATCH 1/2] d3d11: Mind DSV flags when checking for conflicting SRV.
Henri Verbeet
hverbeet at gmail.com
Thu Oct 31 09:23:04 CDT 2019
On Thu, 31 Oct 2019 at 16:54, Paul Gofman <gofmanp at gmail.com> wrote:
> @@ -5098,7 +5099,7 @@ HRESULT CDECL wined3d_device_set_rendertarget_view(struct wined3d_device *device
> if (prev)
> wined3d_rendertarget_view_decref(prev);
>
> - wined3d_unbind_srv_for_rtv(device, view);
> + wined3d_unbind_srv_for_rtv(device, view, FALSE);
>
> return WINED3D_OK;
> }
> @@ -5130,7 +5131,7 @@ HRESULT CDECL wined3d_device_set_depth_stencil_view(struct wined3d_device *devic
> if (prev)
> wined3d_rendertarget_view_decref(prev);
>
> - wined3d_unbind_srv_for_rtv(device, view);
> + wined3d_unbind_srv_for_rtv(device, view, TRUE);
>
> return WINED3D_OK;
> }
Mostly just a note for Alexandre, when I applied this patch here, git
apply seems to have switched these hunks, leading to predictable test
failures.
More information about the wine-devel
mailing list