[PATCH 4/5] include: Add comments to blocks of render states added with each D3D version.
Matteo Bruni
mbruni at codeweavers.com
Wed Mar 22 17:17:54 CDT 2017
Signed-off-by: Matteo Bruni <mbruni at codeweavers.com>
---
include/wine/wined3d.h | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/include/wine/wined3d.h b/include/wine/wined3d.h
index 3b0f6db..dfad9dd 100644
--- a/include/wine/wined3d.h
+++ b/include/wine/wined3d.h
@@ -288,11 +288,13 @@ enum wined3d_render_state
WINED3D_RS_FOGEND = 37,
WINED3D_RS_FOGDENSITY = 38,
WINED3D_RS_STIPPLEENABLE = 39, /* d3d7 */
+ /* d3d5+ */
WINED3D_RS_EDGEANTIALIAS = 40, /* d3d7, d3d8 */
WINED3D_RS_COLORKEYENABLE = 41, /* d3d7 */
WINED3D_RS_MIPMAPLODBIAS = 46, /* d3d7 */
WINED3D_RS_RANGEFOGENABLE = 48,
WINED3D_RS_ANISOTROPY = 49, /* d3d7 */
+ /* d3d6+ */
WINED3D_RS_FLUSHBATCH = 50, /* d3d7 */
WINED3D_RS_TRANSLUCENTSORTINDEPENDENT = 51, /* d3d7 */
WINED3D_RS_STENCILENABLE = 52,
@@ -312,6 +314,7 @@ enum wined3d_render_state
WINED3D_RS_WRAP5 = 133,
WINED3D_RS_WRAP6 = 134,
WINED3D_RS_WRAP7 = 135,
+ /* d3d7+ */
WINED3D_RS_CLIPPING = 136,
WINED3D_RS_LIGHTING = 137,
WINED3D_RS_EXTENTS = 138, /* d3d7 */
@@ -327,6 +330,7 @@ enum wined3d_render_state
WINED3D_RS_EMISSIVEMATERIALSOURCE = 148,
WINED3D_RS_VERTEXBLEND = 151,
WINED3D_RS_CLIPPLANEENABLE = 152,
+ /* d3d8+ */
WINED3D_RS_SOFTWAREVERTEXPROCESSING = 153, /* d3d8 */
WINED3D_RS_POINTSIZE = 154,
WINED3D_RS_POINTSIZE_MIN = 155,
@@ -347,6 +351,7 @@ enum wined3d_render_state
WINED3D_RS_BLENDOP = 171,
WINED3D_RS_POSITIONDEGREE = 172,
WINED3D_RS_NORMALDEGREE = 173,
+ /* d3d9 */
WINED3D_RS_SCISSORTESTENABLE = 174,
WINED3D_RS_SLOPESCALEDEPTHBIAS = 175,
WINED3D_RS_ANTIALIASEDLINEENABLE = 176,
--
2.10.2
More information about the wine-patches
mailing list