[1/4] d3d9: Add D3DSHADER_COMPARISON definition.
Matteo Bruni
matteo.mystral at gmail.com
Mon Dec 28 15:02:07 CST 2009
After too much time I'm giving a new try to the D3D shader assembler.
I tried to address the points made the first time, reducing patch size
while avoiding to have patches only adding unused code.
Patch 3 of the series implements the complete parser (except for the
bytecode writer, which is in patch 4) simplified to support a really
minimal subset of the shader asm language syntax. The result is a 60KB
patch, but I don't see many ways to shrink it further while keeping
the patch "complete".
-------------- next part --------------
From acd1eee0674bdef97012c07fa25f19e7eba999d3 Mon Sep 17 00:00:00 2001
From: Matteo Bruni <matteo.mystral at gmail.com>
Date: Sat, 26 Dec 2009 16:18:18 +0100
Subject: d3d9: Add D3DSHADER_COMPARISON definition.
---
include/d3d9types.h | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/include/d3d9types.h b/include/d3d9types.h
index b453525..ab9d4ce 100644
--- a/include/d3d9types.h
+++ b/include/d3d9types.h
@@ -1557,4 +1557,16 @@ typedef enum _D3DCOMPOSERECTSOP{
} D3DCOMPOSERECTSOP;
#endif /* D3D_DISABLE_9EX */
+typedef enum _D3DSHADER_COMPARISON
+{
+ D3DSPC_RESERVED0 = 0,
+ D3DSPC_GT,
+ D3DSPC_EQ,
+ D3DSPC_GE,
+ D3DSPC_LT,
+ D3DSPC_NE,
+ D3DSPC_LE,
+ D3DSPC_RESERVED1,
+} D3DSHADER_COMPARISON;
+
#endif /* __WINE_D3D9TYPES_H */
--
1.6.4.4
More information about the wine-patches
mailing list