Matteo Bruni (@Mystral) commented about dlls/d3dx11_43/texture.c:
+ const struct pixel_format_desc *fmt_desc, *src_desc; + struct d3dx_subresource_data *sub_rsrcs = NULL; + D3DX11_IMAGE_INFO img_info; + struct d3dx_image image; + unsigned int i, j; + HRESULT hr = S_OK; + + if (!data || !size) + return E_FAIL; + + *resource_data = NULL; + if (!load_info->Filter || load_info->Filter == D3DX11_DEFAULT) + load_info->Filter = D3DX11_FILTER_LINEAR; + if (FAILED(hr = d3dx_validate_filter(load_info->Filter))) + { + ERR("Invalid filter argument %#x.\n", load_info->Filter); This should be a `WARN()` since it's an application-controlled argument. I see that I missed it in the d3dx10 implementation...
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/9206#note_119637