Alexandre Julliard pushed to branch master at wine / wine
Commits: 90557462 by Henri Verbeet at 2025-08-18T13:10:20+02:00 d3d11/tests: Test that sampler states with anisotropic filtering and zero MaxAnisotropy can be created.
The documentation suggests this isn't a valid combination, but it works anyway.
- - - - - 7b87ea0b by Henri Verbeet at 2025-08-18T13:10:21+02:00 d3d10core/tests: Test that sampler states with anisotropic filtering and zero MaxAnisotropy can be created.
- - - - - e98df10a by Henri Verbeet at 2025-08-18T13:10:21+02:00 d3d11: Disable anisotropic filtering for sampler states with zero MaxAnisotropy.
It's not a meaningful combination. Additionally, on the OpenGL side it is an error to set TEXTURE_MAX_ANISOTROPY to a value less than 1.0, and Vulkan's VUID-VkSamplerCreateInfo-anisotropyEnable-01071 imposes a similar restriction.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=57946
- - - - - 83efb10b by Henri Verbeet at 2025-08-18T13:10:21+02:00 wined3d: Disable anisotropic filtering for zero max_anisotropy in sampler_desc_from_sampler_states().
- - - - -
4 changed files:
- dlls/d3d10core/tests/d3d10core.c - dlls/d3d11/state.c - dlls/d3d11/tests/d3d11.c - dlls/wined3d/stateblock.c
View it on GitLab: https://gitlab.winehq.org/wine/wine/-/compare/dd1a032298c21ba71d31e9639cbc80...