Matteo Bruni : include: Stub d3dcompiler.h, d3d11shader.h.

Alexandre Julliard julliard at winehq.org
Wed Aug 4 12:27:20 CDT 2010


Module: wine
Branch: master
Commit: 2d14335f6f1aaf493c357a403c3352916ba9f484
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=2d14335f6f1aaf493c357a403c3352916ba9f484

Author: Matteo Bruni <matteo.mystral at gmail.com>
Date:   Tue Aug  3 18:44:25 2010 +0200

include: Stub d3dcompiler.h, d3d11shader.h.

---

 include/Makefile.in   |    2 ++
 include/d3d11shader.h |   24 ++++++++++++++++++++++++
 include/d3dcompiler.h |   44 ++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 70 insertions(+), 0 deletions(-)

diff --git a/include/Makefile.in b/include/Makefile.in
index 153272d..e6215e3 100644
--- a/include/Makefile.in
+++ b/include/Makefile.in
@@ -156,6 +156,7 @@ SRCDIR_INCLUDES = \
 	d3d10effect.h \
 	d3d10misc.h \
 	d3d10shader.h \
+	d3d11shader.h \
 	d3d8.h \
 	d3d8caps.h \
 	d3d8types.h \
@@ -163,6 +164,7 @@ SRCDIR_INCLUDES = \
 	d3d9caps.h \
 	d3d9types.h \
 	d3dcaps.h \
+	d3dcompiler.h \
 	d3dhal.h \
 	d3drm.h \
 	d3drmdef.h \
diff --git a/include/d3d11shader.h b/include/d3d11shader.h
new file mode 100644
index 0000000..2ccb51a
--- /dev/null
+++ b/include/d3d11shader.h
@@ -0,0 +1,24 @@
+/*
+ * Copyright 2010 Matteo Bruni for CodeWeavers
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+ */
+
+#ifndef __D3D11SHADER_H__
+#define __D3D11SHADER_H__
+
+#include "d3dcommon.h"
+
+#endif
diff --git a/include/d3dcompiler.h b/include/d3dcompiler.h
new file mode 100644
index 0000000..27ed290
--- /dev/null
+++ b/include/d3dcompiler.h
@@ -0,0 +1,44 @@
+/*
+ * Copyright 2010 Matteo Bruni for CodeWeavers
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+ */
+
+#ifndef __D3DCOMPILER_H__
+#define __D3DCOMPILER_H__
+
+#include "d3d11shader.h"
+
+#define D3DCOMPILE_DEBUG                          0x0001
+#define D3DCOMPILE_SKIP_VALIDATION                0x0002
+#define D3DCOMPILE_SKIP_OPTIMIZATION              0x0004
+#define D3DCOMPILE_PACK_MATRIX_ROW_MAJOR          0x0008
+#define D3DCOMPILE_PACK_MATRIX_COLUMN_MAJOR       0x0010
+#define D3DCOMPILE_PARTIAL_PRECISION              0x0020
+#define D3DCOMPILE_FORCE_VS_SOFTWARE_NO_OPT       0x0040
+#define D3DCOMPILE_FORCE_PS_SOFTWARE_NO_OPT       0x0080
+#define D3DCOMPILE_NO_PRESHADER                   0x0100
+#define D3DCOMPILE_AVOID_FLOW_CONTROL             0x0200
+#define D3DCOMPILE_PREFER_FLOW_CONTROL            0x0400
+#define D3DCOMPILE_ENABLE_STRICTNESS              0x0800
+#define D3DCOMPILE_ENABLE_BACKWARDS_COMPATIBILITY 0x1000
+#define D3DCOMPILE_IEEE_STRICTNESS                0x2000
+#define D3DCOMPILE_OPTIMIZATION_LEVEL0            0x4000
+#define D3DCOMPILE_OPTIMIZATION_LEVEL1            0x0000
+#define D3DCOMPILE_OPTIMIZATION_LEVEL2            0xC000
+#define D3DCOMPILE_OPTIMIZATION_LEVEL3            0x8000
+#define D3DCOMPILE_WARNINGS_ARE_ERRORS           0x40000
+
+#endif




More information about the wine-cvs mailing list