include: Move the ID3D12Debug interface to d3d12sdklayers.idl.

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Józef Kucia 2020-10-02 19:25:59 +03:30 committed by Alexandre Julliard
parent 2e11036feb
commit 99f2a5cd9f
5 changed files with 33 additions and 11 deletions

View File

@ -21,6 +21,7 @@
#define COBJMACROS
#include "initguid.h"
#include "d3d12.h"
#include "d3d12sdklayers.h"
#include "dxgi1_6.h"
#include "wine/test.h"

View File

@ -24,6 +24,7 @@
#include "dxgi1_6.h"
#include "d3d11.h"
#include "d3d12.h"
#include "d3d12sdklayers.h"
#include "winternl.h"
#include "ddk/d3dkmthk.h"
#include "wine/heap.h"

View File

@ -110,6 +110,7 @@ SOURCES = \
d3d11sdklayers.idl \
d3d11shader.h \
d3d12.idl \
d3d12sdklayers.idl \
d3d12shader.idl \
d3d8.h \
d3d8caps.h \

View File

@ -2138,17 +2138,6 @@ interface ID3D12Device : ID3D12Object
LUID GetAdapterLuid();
}
[
uuid(344488b7-6846-474b-b989-f027448245e0),
object,
local,
pointer_default(unique)
]
interface ID3D12Debug : IUnknown
{
void EnableDebugLayer();
}
[
uuid(34ab647b-3cc8-46ac-841b-c0965645c046),
object,

View File

@ -0,0 +1,30 @@
/*
* Copyright 2016-2019 Józef Kucia for CodeWeavers
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
import "d3d12.idl";
[
uuid(344488b7-6846-474b-b989-f027448245e0),
object,
local,
pointer_default(unique)
]
interface ID3D12Debug : IUnknown
{
void EnableDebugLayer();
}