Module: wine Branch: master Commit: 9f2cf25c2def844d127c78aa91f4f14edc92f934 URL: https://gitlab.winehq.org/wine/wine/-/commit/9f2cf25c2def844d127c78aa91f4f14...
Author: Zebediah Figura zfigura@codeweavers.com Date: Wed Jun 14 17:02:06 2023 -0500
d3d10core/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/d3d10core/tests/d3d10core.c | 255 ++++++++++++++++----------------------- 1 file changed, 103 insertions(+), 152 deletions(-)