[2/5] include: Fix some d3d10shader.h defines.

Matteo Bruni matteo.mystral at gmail.com
Tue Aug 3 12:04:19 CDT 2010


-------------- next part --------------
From f54cc8974e7dd2e06bf9196ad4437133db0aa59e Mon Sep 17 00:00:00 2001
From: Matteo Bruni <matteo.mystral at gmail.com>
Date: Tue, 3 Aug 2010 18:44:25 +0200
Subject: include: Fix some d3d10shader.h defines.

---
 include/d3d10shader.h |   14 ++++++++++----
 1 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/include/d3d10shader.h b/include/d3d10shader.h
index 7885bbd..592dd18 100644
--- a/include/d3d10shader.h
+++ b/include/d3d10shader.h
@@ -32,10 +32,16 @@
 #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
+#define D3D10_SHADER_PREFER_FLOW_CONTROL            0x0400
+#define D3D10_SHADER_ENABLE_STRICTNESS              0x0800
+#define D3D10_SHADER_ENABLE_BACKWARDS_COMPATIBILITY 0x1000
+#define D3D10_SHADER_IEEE_STRICTNESS                0x2000
+#define D3D10_SHADER_WARNINGS_ARE_ERRORS           0x40000
+
+#define D3D10_SHADER_OPTIMIZATION_LEVEL0            0x4000
+#define D3D10_SHADER_OPTIMIZATION_LEVEL1            0x0000
+#define D3D10_SHADER_OPTIMIZATION_LEVEL2            0xC000
+#define D3D10_SHADER_OPTIMIZATION_LEVEL3            0x8000
 
 typedef enum _D3D10_SHADER_VARIABLE_CLASS
 {
-- 
1.7.1


More information about the wine-patches mailing list