Module: wine
Branch: master
Commit: 8bfd6d3285d9c4e91f79445070ecfdbf792ffb9e
URL: https://source.winehq.org/git/wine.git/?a=commit;h=8bfd6d3285d9c4e91f794450…
Author: Zebediah Figura <z.figura12(a)gmail.com>
Date: Fri Nov 22 21:14:01 2019 -0600
strmbase/transform: Check whether the source is connected in TransformFilter_Input_Receive().
Signed-off-by: Zebediah Figura <z.figura12(a)gmail.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
dlls/strmbase/transform.c | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/dlls/strmbase/transform.c b/dlls/strmbase/transform.c
index e7d4d66164..29c385793a 100644
--- a/dlls/strmbase/transform.c
+++ b/dlls/strmbase/transform.c
@@ -59,6 +59,16 @@ static HRESULT WINAPI TransformFilter_Input_Receive(struct strmbase_sink *This,
TRACE("%p\n", This);
+ /* We do not expect pin connection state to change while the filter is
+ * running. This guarantee is necessary, since otherwise we would have to
+ * take the filter lock, and we can't take the filter lock from a streaming
+ * thread. */
+ if (!pTransform->source.pMemInputPin)
+ {
+ WARN("Source is not connected, returning VFW_E_NOT_CONNECTED.\n");
+ return VFW_E_NOT_CONNECTED;
+ }
+
EnterCriticalSection(&pTransform->csReceive);
if (pTransform->filter.state == State_Stopped)
{
Module: vkd3d
Branch: master
Commit: 207ca12725e073d896e6fabb6c2890ac29cbee7b
URL: https://source.winehq.org/git/vkd3d.git/?a=commit;h=207ca12725e073d896e6fab…
Author: Philip Rebohle <philip.rebohle(a)tu-dortmund.de>
Date: Mon Nov 25 17:53:39 2019 +0330
vkd3d: Re-implement d3d12_command_list_ClearUnorderedAccessViewUint().
Addresses the following limitations of the previous implementation:
- Only R32_{UINT,TYPELESS} were supported for buffers.
- Clearing an image UAV did not behave correctly for images with non-UINT formats.
- Due to the use of transfer operations, extra memory barriers were needed.
If necessary, this will create a temporary view with a bit-compatible
UINT format for the resource in order to perform a bit-exact clear.
Signed-off-by: Philip Rebohle <philip.rebohle(a)tu-dortmund.de>
Signed-off-by: Henri Verbeet <hverbeet(a)codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
libs/vkd3d/command.c | 116 ++++++++++++++++-----------------------------
libs/vkd3d/resource.c | 20 ++------
libs/vkd3d/utils.c | 31 ++++++++++++
libs/vkd3d/vkd3d_private.h | 19 ++++++++
tests/d3d12.c | 22 ++++-----
5 files changed, 104 insertions(+), 104 deletions(-)
Diff: https://source.winehq.org/git/vkd3d.git/?a=commitdiff;h=207ca12725e073d896e…