Signed-off-by: Ziqing Hui zhui@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 + ); +};