=?UTF-8?Q?J=C3=B3zef=20Kucia=20?=: d3dcompiler: Fix parsing the tex instruction in ps_1_0 shaders.
Alexandre Julliard
julliard at winehq.org
Mon Apr 9 13:09:15 CDT 2012
Module: wine
Branch: master
Commit: d2b164f0b4e8394d446c137fa11814875a8ec6f8
URL: http://source.winehq.org/git/wine.git/?a=commit;h=d2b164f0b4e8394d446c137fa11814875a8ec6f8
Author: Józef Kucia <joseph.kucia at gmail.com>
Date: Sat Apr 7 10:28:07 2012 +0200
d3dcompiler: Fix parsing the tex instruction in ps_1_0 shaders.
---
dlls/d3dcompiler_43/asmparser.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/d3dcompiler_43/asmparser.c b/dlls/d3dcompiler_43/asmparser.c
index 4d71237..6540a80 100644
--- a/dlls/d3dcompiler_43/asmparser.c
+++ b/dlls/d3dcompiler_43/asmparser.c
@@ -548,7 +548,8 @@ static void asmparser_instr(struct asm_parser *This, DWORD opcode,
case BWRITERSIO_TEX:
/* this encodes both the tex PS 1.x instruction and the
texld 1.4/2.0+ instruction */
- if(This->shader->version == BWRITERPS_VERSION(1, 1) ||
+ if(This->shader->version == BWRITERPS_VERSION(1, 0) ||
+ This->shader->version == BWRITERPS_VERSION(1, 1) ||
This->shader->version == BWRITERPS_VERSION(1, 2) ||
This->shader->version == BWRITERPS_VERSION(1, 3)) {
asmparser_tex(This, mod, shift, dst);
More information about the wine-cvs
mailing list