wined3d: Refuse blits between height-scaled formats in the CPU blitter.

Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zebediah Figura 2022-04-27 21:23:57 -05:00 committed by Alexandre Julliard
parent 842115bbb8
commit 374c58ccb1

View file

@ -853,6 +853,14 @@ static HRESULT surface_cpu_blt(struct wined3d_texture *dst_texture, unsigned int
goto release;
}
if ((src_fmt_flags | dst_fmt_flags) & WINED3DFMT_FLAG_HEIGHT_SCALE)
{
FIXME("Unsupported blit between height-scaled formats (src %s, dst %s).\n",
debug_d3dformat(src_format->id), debug_d3dformat(dst_format->id));
hr = E_NOTIMPL;
goto release;
}
if (filter != WINED3D_TEXF_NONE && filter != WINED3D_TEXF_POINT
&& (src_width != dst_width || src_height != dst_height))
{