Commit 0d6eaf36 authored by Ivan Gyurdiev's avatar Ivan Gyurdiev Committed by Alexandre Julliard

wined3d: Skip unhandled opcodes in vshaders.

parent d486b93e
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment