wined3d: Use sign fixup for the atifs bumpenv matrix.
This commit is contained in:
parent
e53aa8c9e2
commit
799ea13fb9
|
@ -468,11 +468,11 @@ static GLuint gen_ati_shader(const struct texture_stage_op op[MAX_TEXTURES], con
|
|||
*/
|
||||
wrap_op3(gl_info, GL_MAD_ATI, GL_REG_0_ATI + stage + 1, GL_ALPHA, GL_NONE,
|
||||
GL_REG_0_ATI + stage, GL_RED, argmodextra_y,
|
||||
ATI_FFP_CONST_BUMPMAT(stage), GL_BLUE, GL_NONE,
|
||||
ATI_FFP_CONST_BUMPMAT(stage), GL_BLUE, GL_2X_BIT_ATI | GL_BIAS_BIT_ATI,
|
||||
GL_REG_0_ATI + stage + 1, GL_GREEN, GL_NONE);
|
||||
wrap_op3(gl_info, GL_MAD_ATI, GL_REG_0_ATI + stage + 1, GL_GREEN_BIT_ATI, GL_NONE,
|
||||
GL_REG_0_ATI + stage, GL_GREEN, argmodextra_y,
|
||||
ATI_FFP_CONST_BUMPMAT(stage), GL_ALPHA, GL_NONE,
|
||||
ATI_FFP_CONST_BUMPMAT(stage), GL_ALPHA, GL_2X_BIT_ATI | GL_BIAS_BIT_ATI,
|
||||
GL_REG_0_ATI + stage + 1, GL_ALPHA, GL_NONE);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue