Henri Verbeet : wined3d: Recognize the SM4 sampler register type.
Alexandre Julliard
julliard at winehq.org
Tue Oct 12 11:27:00 CDT 2010
Module: wine
Branch: master
Commit: 6cbf1dd4b5633fbdd0cd1dbbd474f7a394a85095
URL: http://source.winehq.org/git/wine.git/?a=commit;h=6cbf1dd4b5633fbdd0cd1dbbd474f7a394a85095
Author: Henri Verbeet <hverbeet at codeweavers.com>
Date: Tue Oct 12 13:40:02 2010 +0200
wined3d: Recognize the SM4 sampler register type.
---
dlls/wined3d/shader_sm4.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/wined3d/shader_sm4.c b/dlls/wined3d/shader_sm4.c
index 1b4dbd5..d7bd76f 100644
--- a/dlls/wined3d/shader_sm4.c
+++ b/dlls/wined3d/shader_sm4.c
@@ -88,6 +88,7 @@ enum wined3d_sm4_register_type
WINED3D_SM4_RT_INPUT = 0x1,
WINED3D_SM4_RT_OUTPUT = 0x2,
WINED3D_SM4_RT_IMMCONST = 0x4,
+ WINED3D_SM4_RT_SAMPLER = 0x6,
WINED3D_SM4_RT_CONSTBUFFER = 0x8,
WINED3D_SM4_RT_NULL = 0xd,
};
@@ -164,7 +165,7 @@ static const WINED3DSHADER_PARAM_REGISTER_TYPE register_type_table[] =
/* UNKNOWN */ 0,
/* WINED3D_SM4_RT_IMMCONST */ WINED3DSPR_IMMCONST,
/* UNKNOWN */ 0,
- /* UNKNOWN */ 0,
+ /* WINED3D_SM4_RT_SAMPLER */ WINED3DSPR_SAMPLER,
/* UNKNOWN */ 0,
/* WINED3D_SM4_RT_CONSTBUFFER */ WINED3DSPR_CONSTBUFFER,
/* UNKNOWN */ 0,
More information about the wine-cvs
mailing list