d3d10_1.idl: Added _D3D10_1_CONSTANTS guard.

This commit is contained in:
Jacek Caban 2014-08-19 15:09:20 +02:00 committed by Alexandre Julliard
parent 87e1172953
commit 9f06f24f0a
1 changed files with 3 additions and 0 deletions

View File

@ -19,6 +19,8 @@
import "oaidl.idl";
import "ocidl.idl";
cpp_quote("#ifndef _D3D10_1_CONSTANTS")
cpp_quote("#define _D3D10_1_CONSTANTS")
const UINT D3D10_1_DEFAULT_SAMPLE_MASK = 0xffffffff;
const UINT D3D10_1_GS_INPUT_REGISTER_COUNT = 32;
const UINT D3D10_1_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT = 32;
@ -38,6 +40,7 @@ const UINT D3D10_1_STANDARD_VERTEX_ELEMENT_COUNT = 32;
const UINT D3D10_1_SUBPIXEL_FRACTIONAL_BIT_COUNT = 8;
const UINT D3D10_1_VS_INPUT_REGISTER_COUNT = 32;
const UINT D3D10_1_VS_OUTPUT_REGISTER_COUNT = 32;
cpp_quote("#endif")
cpp_quote("#define D3D10_1_FLOAT16_FUSED_TOLERANCE_IN_ULP (0.6)")
cpp_quote("#define D3D10_1_FLOAT32_TO_INTEGER_TOLERANCE_IN_ULP (0.6f)")