mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 03:50:21 +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);
|
shader_addline(buffer, "MAD T%c, %s, %s, -%s;\n", 'A' + tmpreg, regstr, two, one);
|
||||||
break;
|
break;
|
||||||
case WINED3DSPSM_SIGNNEG:
|
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;
|
break;
|
||||||
case WINED3DSPSM_COMP:
|
case WINED3DSPSM_COMP:
|
||||||
shader_addline(buffer, "SUB T%c, %s, %s;\n", 'A' + tmpreg, one, regstr);
|
shader_addline(buffer, "SUB T%c, %s, %s;\n", 'A' + tmpreg, one, regstr);
|
||||||
|
|
Loading…
Reference in a new issue