include: Move debug interfaces to vkd3d_d3d12sdklayers.h.

Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Józef Kucia 2019-08-01 18:10:58 +02:00 committed by Alexandre Julliard
parent 55f64cef2f
commit 332b250e82
5 changed files with 47 additions and 24 deletions

View File

@ -5,6 +5,7 @@ AM_LDFLAGS = -no-undefined
widl_headers = \
include/vkd3d_d3d12.h \
include/vkd3d_d3d12sdklayers.h \
include/vkd3d_d3dcommon.h \
include/vkd3d_dxgi.h \
include/vkd3d_dxgi1_2.h \
@ -17,6 +18,7 @@ widl_headers = \
vkd3d_public_headers = \
include/vkd3d.h \
include/vkd3d_d3d12.h \
include/vkd3d_d3d12sdklayers.h \
include/vkd3d_d3dcommon.h \
include/vkd3d_dxgibase.h \
include/vkd3d_dxgiformat.h \

1
include/.gitignore vendored
View File

@ -2,6 +2,7 @@ config.h
config.h.in
stamp-h1
vkd3d_d3d12.h
vkd3d_d3d12sdklayers.h
vkd3d_d3dcommon.h
vkd3d_dxgi.h
vkd3d_dxgi1_2.h

View File

@ -2318,30 +2318,6 @@ interface ID3D12Device1 : ID3D12Device
const D3D12_RESIDENCY_PRIORITY *priorities);
}
[
uuid(344488b7-6846-474b-b989-f027448245e0),
object,
local,
pointer_default(unique)
]
interface ID3D12Debug : IUnknown
{
void EnableDebugLayer();
}
[
uuid(affaa4ca-63fe-4d8e-b8ad-159000af4304),
object,
local,
pointer_default(unique)
]
interface ID3D12Debug1 : IUnknown
{
void EnableDebugLayer();
void SetEnableGPUBasedValidation(BOOL enable);
void SetEnableSynchronizedCommandQueueValidation(BOOL enable);
}
[
uuid(34ab647b-3cc8-46ac-841b-c0965645c046),
object,

View File

@ -0,0 +1,43 @@
/*
* 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 "vkd3d_d3d12.idl";
[
uuid(344488b7-6846-474b-b989-f027448245e0),
object,
local,
pointer_default(unique)
]
interface ID3D12Debug : IUnknown
{
void EnableDebugLayer();
}
[
uuid(affaa4ca-63fe-4d8e-b8ad-159000af4304),
object,
local,
pointer_default(unique)
]
interface ID3D12Debug1 : IUnknown
{
void EnableDebugLayer();
void SetEnableGPUBasedValidation(BOOL enable);
void SetEnableSynchronizedCommandQueueValidation(BOOL enable);
}

View File

@ -45,6 +45,7 @@ typedef int HRESULT;
#include "vkd3d_windows.h"
#define WIDL_C_INLINE_WRAPPERS
#include "vkd3d_d3d12.h"
#include "vkd3d_d3d12sdklayers.h"
#include <inttypes.h>
#include <limits.h>