From: José Fonseca Date: Tue, 20 Nov 2012 15:23:14 +0000 (+0000) Subject: d3d10: Add missing flags. X-Git-Url: https://git.notmuchmail.org/git?a=commitdiff_plain;h=5b9ac33f158f0176f3f4716c530b53b2997d0ec1;p=apitrace d3d10: Add missing flags. --- diff --git a/dispatch/d3d10_1imports.hpp b/dispatch/d3d10_1imports.hpp index 6f9c6fe..2b97cf3 100644 --- a/dispatch/d3d10_1imports.hpp +++ b/dispatch/d3d10_1imports.hpp @@ -41,5 +41,8 @@ #include "dxgiint.h" +#define D3D10_CREATE_DEVICE_PREVENT_ALTERING_LAYER_SETTINGS_FROM_REGISTRY 0x0080 +#define D3D10_CREATE_DEVICE_STRICT_VALIDATION 0x0200 +#define D3D10_CREATE_DEVICE_DEBUGGABLE 0x0400 #endif /* _D3D10_1IMPORTS_HPP_ */ diff --git a/dispatch/d3d10imports.hpp b/dispatch/d3d10imports.hpp index 88bf409..04d4119 100644 --- a/dispatch/d3d10imports.hpp +++ b/dispatch/d3d10imports.hpp @@ -41,5 +41,8 @@ #include "dxgiint.h" +#define D3D10_CREATE_DEVICE_PREVENT_ALTERING_LAYER_SETTINGS_FROM_REGISTRY 0x0080 +#define D3D10_CREATE_DEVICE_STRICT_VALIDATION 0x0200 +#define D3D10_CREATE_DEVICE_DEBUGGABLE 0x0400 #endif /* _D3D10IMPORTS_HPP_ */ diff --git a/specs/d3d10.py b/specs/d3d10.py index 5e11adf..f1fc4de 100644 --- a/specs/d3d10.py +++ b/specs/d3d10.py @@ -212,6 +212,7 @@ D3D10_FORMAT_SUPPORT = Flags(UINT, [ "D3D10_FORMAT_SUPPORT_MULTISAMPLE_RENDERTARGET", "D3D10_FORMAT_SUPPORT_MULTISAMPLE_LOAD", "D3D10_FORMAT_SUPPORT_SHADER_GATHER", + "D3D10_FORMAT_SUPPORT_BACK_BUFFER_CAST", ]) D3D10_COUNTER = Enum("D3D10_COUNTER", [ @@ -677,6 +678,10 @@ D3D10_CREATE_DEVICE_FLAG = Flags(UINT, [ "D3D10_CREATE_DEVICE_ALLOW_NULL_FROM_MAP", "D3D10_CREATE_DEVICE_BGRA_SUPPORT", "D3D10_CREATE_DEVICE_STRICT_VALIDATION", + "D3D10_CREATE_DEVICE_BGRA_SUPPORT", + "D3D10_CREATE_DEVICE_PREVENT_ALTERING_LAYER_SETTINGS_FROM_REGISTRY", + "D3D10_CREATE_DEVICE_STRICT_VALIDATION", + "D3D10_CREATE_DEVICE_DEBUGGABLE", ]) D3D10_RAISE_FLAG = Flags(UINT, [