[PATCH v2 5/6] include: Add defines for ID2D1ComputeInfo.

Ziqing Hui zhui at codeweavers.com
Thu Apr 21 23:32:56 CDT 2022


Signed-off-by: Ziqing Hui <zhui at codeweavers.com>
---

v2: Add missing "[in]"

 include/d2d1effectauthor.idl | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/include/d2d1effectauthor.idl b/include/d2d1effectauthor.idl
index 9ac45ab1619..99dee96215a 100644
--- a/include/d2d1effectauthor.idl
+++ b/include/d2d1effectauthor.idl
@@ -192,3 +192,23 @@ interface ID2D1DrawInfo : ID2D1RenderInfo
         [in, optional] const GUID *vertex_shader
     );
 };
+
+[
+    object,
+    uuid(5598b14b-9fd7-48b7-9bdb-8f0964eb38bc),
+    local,
+]
+interface ID2D1ComputeInfo : ID2D1RenderInfo
+{
+    HRESULT SetComputeShaderconstantBuffer(
+        [in] const BYTE *buffer,
+        [in] UINT32 buffer_count
+    );
+    HRESULT SetComputeShader(
+        [in] REFGUID shader_id
+    );
+    HRESULT SetResourceTexture(
+        [in] UINT32 texture_index,
+        [in] ID2D1ResourceTexture *resource_texture
+    );
+};
-- 
2.25.1




More information about the wine-devel mailing list