From e341b0ec26ca6170476e63b4461a0ae2fede2468 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Thu, 30 Apr 2020 11:25:14 +0530 Subject: [PATCH] include/dxgi.idl: add cpu access flags Signed-off-by: Biswapriyo Nath --- include/dxgi.idl | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/include/dxgi.idl b/include/dxgi.idl index b724770..c2960fd 100644 --- a/include/dxgi.idl +++ b/include/dxgi.idl @@ -33,6 +33,12 @@ typedef struct _LUID { } LUID, *PLUID; cpp_quote("#endif") +const UINT DXGI_CPU_ACCESS_NONE = 0; +const UINT DXGI_CPU_ACCESS_DYNAMIC = 1; +const UINT DXGI_CPU_ACCESS_READ_WRITE = 2; +const UINT DXGI_CPU_ACCESS_SCRATCH = 3; +const UINT DXGI_CPU_ACCESS_FIELD = 15; + typedef UINT DXGI_USAGE; const DXGI_USAGE DXGI_USAGE_SHADER_INPUT = 0x10L; const DXGI_USAGE DXGI_USAGE_RENDER_TARGET_OUTPUT = 0x20L; @@ -439,6 +445,7 @@ interface IDXGIDevice : IDXGIObject typedef enum DXGI_ADAPTER_FLAG { DXGI_ADAPTER_FLAG_NONE = 0, DXGI_ADAPTER_FLAG_REMOTE = 1, + DXGI_ADAPTER_FLAG_SOFTWARE = 2, DXGI_ADAPTER_FLAG_FORCE_DWORD = 0xFFFFFFFF } DXGI_ADAPTER_FLAG; -- 2.26.2