From 3d891e413057aa2e2657752aa0f13897207a81c8 Mon Sep 17 00:00:00 2001 From: Ziqing Hui Date: Tue, 26 Apr 2022 10:40:37 +0800 Subject: [PATCH] include: Add defines for ID2D1ComputeInfo. Signed-off-by: Ziqing Hui Signed-off-by: Henri Verbeet Signed-off-by: Alexandre Julliard --- include/d2d1effectauthor.idl | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/include/d2d1effectauthor.idl b/include/d2d1effectauthor.idl index 1f98999a117..442c0156227 100644 --- a/include/d2d1effectauthor.idl +++ b/include/d2d1effectauthor.idl @@ -192,3 +192,23 @@ interface ID2D1DrawInfo : ID2D1RenderInfo [in, optional] const GUID *shader ); } + +[ + object, + uuid(5598b14b-9fd7-48b7-9bdb-8f0964eb38bc), + local, +] +interface ID2D1ComputeInfo : ID2D1RenderInfo +{ + HRESULT SetComputeShaderconstantBuffer( + [in] const BYTE *buffer, + [in] UINT32 size + ); + HRESULT SetComputeShader( + [in] REFGUID id + ); + HRESULT SetResourceTexture( + [in] UINT32 index, + [in] ID2D1ResourceTexture *texture + ); +}