wined3d: Skip unhandled opcodes in vshaders.
This commit is contained in:
parent
d486b93e30
commit
0d6eaf363d
|
@ -1378,7 +1378,7 @@ inline static VOID IWineD3DPixelShaderImpl_GenerateProgramArbHW(IWineD3DPixelSha
|
|||
} else {
|
||||
FIXME("Can't handle opcode %s in hwShader\n", curOpcode->name);
|
||||
}
|
||||
pToken += curOpcode->num_params; /* maybe + 1 */
|
||||
pToken += curOpcode->num_params;
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
|
@ -1672,7 +1672,11 @@ inline static VOID IWineD3DVertexShaderImpl_GenerateProgramArbHW(IWineD3DVertexS
|
|||
} else {
|
||||
FIXME("Can't handle opcode %s in hwShader\n", curOpcode->name);
|
||||
}
|
||||
|
||||
pToken += curOpcode->num_params;
|
||||
continue;
|
||||
}
|
||||
|
||||
if (curOpcode->num_params > 0) {
|
||||
vshader_program_add_param(This, *pToken, FALSE, tmpLine);
|
||||
|
||||
|
|
Loading…
Reference in New Issue