mirror of
https://github.com/reactos/wine.git
synced 2024-11-28 06:00:45 +00:00
d3dcompiler: Fix parsing the tex instruction in ps_1_0 shaders.
This commit is contained in:
parent
73e7346dd5
commit
d2b164f0b4
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user