Module: wine Branch: master Commit: 0135114951e722d714589bdadc88e69c46a668ad URL: https://gitlab.winehq.org/wine/wine/-/commit/0135114951e722d714589bdadc88e69...
Author: Zebediah Figura zfigura@codeweavers.com Date: Wed Jun 14 16:21:40 2023 -0500
d3d11/tests: Read back directly from the mipmap texture in test_generate_mips().
This is far simpler than drawing with it.
The immediate motivation here is that the DXGI_FORMAT_R8G8B8A8_UINT test causes a validation error when drawing, since the shader declares its resource as a float4 texture, which does not match the UINT view format. This could be fixed by using a different shader, but it seems more prudent to just simplify the test to not draw at all.
---
dlls/d3d11/tests/d3d11.c | 162 +++++------------------------------------------ 1 file changed, 16 insertions(+), 146 deletions(-)