mirror of
https://github.com/reactos/wine.git
synced 2024-11-26 13:10:28 +00:00
wined3d: Fix a clipping issue with D3DSPSM_SIGNNEG.
This commit is contained in:
parent
b2132202c7
commit
d19f840361
@ -1473,7 +1473,7 @@ static void shader_arb_get_src_param(const struct wined3d_shader_instruction *in
|
||||
shader_addline(buffer, "MAD T%c, %s, %s, -%s;\n", 'A' + tmpreg, regstr, two, one);
|
||||
break;
|
||||
case WINED3DSPSM_SIGNNEG:
|
||||
shader_addline(buffer, "MAD T%c, %s, %s, %s;\n", 'A' + tmpreg, regstr, two, one);
|
||||
shader_addline(buffer, "MAD T%c, %s, -%s, %s;\n", 'A' + tmpreg, regstr, two, one);
|
||||
break;
|
||||
case WINED3DSPSM_COMP:
|
||||
shader_addline(buffer, "SUB T%c, %s, %s;\n", 'A' + tmpreg, one, regstr);
|
||||
|
Loading…
Reference in New Issue
Block a user