16 May
2023
16 May
'23
8:34 a.m.
On Tue May 16 07:24:05 2023 +0000, Sebastian Mayr wrote:
As far as I can tell, d3d8 does indeed accept every filter value, it's probably not validated at all. I'll look into porting `test_filter()` and also test some invalid values. In that case the fix for the bug might be a lot easier - just do something like if (hr == WINED3DERR_UNSUPPORTEDTEXTUREFILTER) return D3D_OK; in IDirect3DDevice8::ValidateDevice.
(Unless we validate the device state internally somehow, but I don't think we do) -- https://gitlab.winehq.org/wine/wine/-/merge_requests/2821#note_32852