Files
MINGW-packages/mingw-w64-headers-git/0006-processor_format.patch
2016-10-20 14:22:10 +03:00

45 lines
1.9 KiB
Diff

From 72fea0e0d302849b000e89dd9884661aa80f27dd Mon Sep 17 00:00:00 2001
From: Martell Malone <martellmalone@gmail.com>
Date: Mon, 16 Feb 2015 23:40:12 +0000
Subject: [PATCH 5/6] d3d11: Add missing d3d11 D3D11_VIDEO_PROCESSOR_FORMAT_SUPPORT_OUTPUT
---
mingw-w64-headers/direct-x/include/d3d11.h | 5 +++++
mingw-w64-headers/direct-x/include/d3d11.idl | 5 +++++
2 files changed, 10 insertions(+)
diff --git a/mingw-w64-headers/direct-x/include/d3d11.idl b/mingw-w64-headers/direct-x/include/d3d11.idl
index 51ca735..2460b3d 100644
--- a/mingw-w64-headers/direct-x/include/d3d11.idl 2016-02-26 09:21:48.019575300 +0100
+++ b/mingw-w64-headers/direct-x/include/d3d11.idl 2016-02-26 10:41:58.461027900 +0100
@@ -3199,6 +3199,11 @@ typedef enum D3D11_CREATE_DEVICE_FLAG {
D3D11_CREATE_DEVICE_VIDEO_SUPPORT = 0x0800
} D3D11_CREATE_DEVICE_FLAG;
+typedef enum D3D11_VIDEO_PROCESSOR_FORMAT_SUPPORT {
+ D3D11_VIDEO_PROCESSOR_FORMAT_SUPPORT_INPUT = 0x00000001,
+ D3D11_VIDEO_PROCESSOR_FORMAT_SUPPORT_OUTPUT = 0x00000002,
+} D3D11_VIDEO_PROCESSOR_FORMAT_SUPPORT;
+
const UINT D3D11_SDK_VERSION = 7;
cpp_quote("#include <d3d10_1.h>")
diff --git a/mingw-w64-headers/direct-x/include/d3d11.h b/mingw-w64-headers/direct-x/include/d3d11.h
index 51ca735..2460b3d 100644
--- a/mingw-w64-headers/direct-x/include/d3d11.h 2016-02-26 09:21:48.019575300 +0100
+++ b/mingw-w64-headers/direct-x/include/d3d11.h 2016-02-26 10:41:58.461027900 +0100
@@ -12839,6 +12839,11 @@ typedef enum D3D11_CREATE_DEVICE_FLAG {
D3D11_CREATE_DEVICE_DISABLE_GPU_TIMEOUT = 0x100,
D3D11_CREATE_DEVICE_VIDEO_SUPPORT = 0x800
} D3D11_CREATE_DEVICE_FLAG;
+typedef enum D3D11_VIDEO_PROCESSOR_FORMAT_SUPPORT {
+ D3D11_VIDEO_PROCESSOR_FORMAT_SUPPORT_INPUT = 0x00000001,
+ D3D11_VIDEO_PROCESSOR_FORMAT_SUPPORT_OUTPUT = 0x00000002,
+} D3D11_VIDEO_PROCESSOR_FORMAT_SUPPORT;
+
#define D3D11_SDK_VERSION (7)
#include <d3d10_1.h>
--
2.4.5