From 7e52960f1a0c816ad561ba39e7c493f3a5a7259b Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Sat, 22 Aug 2020 10:09:55 +0530 Subject: [PATCH 3/6] include/d3d11sdklayers.idl: Add d3d11 debug feature flags. Signed-off-by: Biswapriyo Nath --- include/d3d11sdklayers.idl | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/d3d11sdklayers.idl b/include/d3d11sdklayers.idl index 638e53c..e54ac01 100644 --- a/include/d3d11sdklayers.idl +++ b/include/d3d11sdklayers.idl @@ -20,6 +20,14 @@ import "oaidl.idl"; import "ocidl.idl"; import "d3d11.idl"; +const UINT D3D11_DEBUG_FEATURE_FLUSH_PER_RENDER_OP = 0x1; +const UINT D3D11_DEBUG_FEATURE_FINISH_PER_RENDER_OP = 0x2; +const UINT D3D11_DEBUG_FEATURE_PRESENT_PER_RENDER_OP = 0x4; +const UINT D3D11_DEBUG_FEATURE_ALWAYS_DISCARD_OFFERED_RESOURCE = 0x8; +const UINT D3D11_DEBUG_FEATURE_NEVER_DISCARD_OFFERED_RESOURCE = 0x10; +const UINT D3D11_DEBUG_FEATURE_AVOID_BEHAVIOR_CHANGING_DEBUG_AIDS = 0x40; +const UINT D3D11_DEBUG_FEATURE_DISABLE_TILED_RESOURCE_MAPPING_TRACKING_AND_VALIDATION = 0x80; + typedef enum D3D11_MESSAGE_CATEGORY { D3D11_MESSAGE_CATEGORY_APPLICATION_DEFINED, D3D11_MESSAGE_CATEGORY_MISCELLANEOUS, -- 2.27.0