From e8c308d450c32ba82863f0cb1a73f37eeba7a8b6 Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Fri, 27 Feb 2009 09:29:48 +0100 Subject: [PATCH] d3d10: Add the D3D10_SHADER flags. --- include/d3d10shader.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/include/d3d10shader.h b/include/d3d10shader.h index 8564c03df7f..8c3e46ea525 100644 --- a/include/d3d10shader.h +++ b/include/d3d10shader.h @@ -22,6 +22,21 @@ #include "d3d10.h" +#define D3D10_SHADER_DEBUG 0x0001 +#define D3D10_SHADER_SKIP_VALIDATION 0x0002 +#define D3D10_SHADER_SKIP_OPTIMIZATION 0x0004 +#define D3D10_SHADER_PACK_MATRIX_ROW_MAJOR 0x0008 +#define D3D10_SHADER_PACK_MATRIX_COLUMN_MAJOR 0x0010 +#define D3D10_SHADER_PARTIAL_PRECISION 0x0020 +#define D3D10_SHADER_FORCE_VS_SOFTWARE_NO_OPT 0x0040 +#define D3D10_SHADER_FORCE_PS_SOFTWARE_NO_OPT 0x0080 +#define D3D10_SHADER_NO_PRESHADER 0x0100 +#define D3D10_SHADER_AVOID_FLOW_CONTROL 0x0200 +#define D3D10_SHADER_PREFER_FLOW_CONTROL 0x0300 +#define D3D10_SHADER_ENABLE_STRICTNESS 0x0400 +#define D3D10_SHADER_ENABLE_BACKWARDS_COMPATIBILITY 0x0800 +#define D3D10_SHADER_IEEE_STRICTNESS 0x1000 + typedef enum _D3D10_SHADER_VARIABLE_CLASS { D3D10_SVC_SCALAR,