=?UTF-8?Q?J=C3=B3zef=20Kucia=20?=: wined3d: Recognize SM4 oDepth register.

Alexandre Julliard julliard at wine.codeweavers.com
Tue Jan 19 10:50:27 CST 2016


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

Author: Józef Kucia <jkucia at codeweavers.com>
Date:   Mon Jan 18 21:16:45 2016 +0100

wined3d: Recognize SM4 oDepth register.

Signed-off-by: Józef Kucia <jkucia at codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/wined3d/shader_sm4.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dlls/wined3d/shader_sm4.c b/dlls/wined3d/shader_sm4.c
index f102ed1..6972ea4 100644
--- a/dlls/wined3d/shader_sm4.c
+++ b/dlls/wined3d/shader_sm4.c
@@ -154,6 +154,7 @@ enum wined3d_sm4_register_type
     WINED3D_SM4_RT_RESOURCE     = 0x7,
     WINED3D_SM4_RT_CONSTBUFFER  = 0x8,
     WINED3D_SM4_RT_PRIMID       = 0xb,
+    WINED3D_SM4_RT_DEPTHOUT     = 0xc,
     WINED3D_SM4_RT_NULL         = 0xd,
 };
 
@@ -336,7 +337,7 @@ static const enum wined3d_shader_register_type register_type_table[] =
     /* UNKNOWN */                       0,
     /* UNKNOWN */                       0,
     /* WINED3D_SM4_RT_PRIMID */         WINED3DSPR_PRIMID,
-    /* UNKNOWN */                       0,
+    /* WINED3D_SM4_RT_DEPTHOUT */       WINED3DSPR_DEPTHOUT,
     /* WINED3D_SM4_RT_NULL */           WINED3DSPR_NULL,
 };
 




More information about the wine-cvs mailing list