Henri Verbeet : wined3d: Increase the SM4 instruction length mask size.
Alexandre Julliard
julliard at winehq.org
Mon May 19 15:09:59 CDT 2014
Module: wine
Branch: master
Commit: 0fe183c2993dae7364c20f65c46aae0f23366ec2
URL: http://source.winehq.org/git/wine.git/?a=commit;h=0fe183c2993dae7364c20f65c46aae0f23366ec2
Author: Henri Verbeet <hverbeet at codeweavers.com>
Date: Mon May 19 08:21:03 2014 +0200
wined3d: Increase the SM4 instruction length mask size.
---
dlls/wined3d/shader_sm4.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/wined3d/shader_sm4.c b/dlls/wined3d/shader_sm4.c
index 1159d6e..9a6131f 100644
--- a/dlls/wined3d/shader_sm4.c
+++ b/dlls/wined3d/shader_sm4.c
@@ -27,7 +27,7 @@ WINE_DECLARE_DEBUG_CHANNEL(d3d_bytecode);
#define WINED3D_SM4_INSTRUCTION_MODIFIER (1 << 31)
#define WINED3D_SM4_INSTRUCTION_LENGTH_SHIFT 24
-#define WINED3D_SM4_INSTRUCTION_LENGTH_MASK (0xf << WINED3D_SM4_INSTRUCTION_LENGTH_SHIFT)
+#define WINED3D_SM4_INSTRUCTION_LENGTH_MASK (0x1f << WINED3D_SM4_INSTRUCTION_LENGTH_SHIFT)
#define WINED3D_SM4_PRIMITIVE_TYPE_SHIFT 11
#define WINED3D_SM4_PRIMITIVE_TYPE_MASK (0x7 << WINED3D_SM4_PRIMITIVE_TYPE_SHIFT)
More information about the wine-cvs
mailing list