wined3d: Resync ARB mnxn function with GLSL mnxn function.

This commit is contained in:
Ivan Gyurdiev 2006-07-02 19:29:46 -06:00 committed by Alexandre Julliard
parent fd896d8652
commit 1bfec25031
1 changed files with 7 additions and 3 deletions

View File

@ -800,10 +800,14 @@ void vshader_hw_mnxn(SHADER_OPCODE_ARG* arg) {
int nComponents = 0;
SHADER_OPCODE_ARG tmpArg;
memset(&tmpArg, 0, sizeof(SHADER_OPCODE_ARG));
/* Set constants for the temporary argument */
tmpArg.shader = arg->shader;
tmpArg.buffer = arg->buffer;
tmpArg.src[0] = arg->src[0];
tmpArg.shader = arg->shader;
tmpArg.buffer = arg->buffer;
tmpArg.src[0] = arg->src[0];
tmpArg.src_addr[0] = arg->src_addr[0];
tmpArg.reg_maps = arg->reg_maps;
switch(arg->opcode->opcode) {
case D3DSIO_M4x4: