[Bug 57946] New: GreedFall needs maxAnisotropy values handling
https://bugs.winehq.org/show_bug.cgi?id=57946 Bug ID: 57946 Summary: GreedFall needs maxAnisotropy values handling Product: vkd3d Version: 1.15 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: vkd3d Assignee: wine-bugs(a)winehq.org Reporter: andrey.goosev(a)gmail.com Distribution: --- Fails to launch on Nvidia. Driver 570.124.04 VUID-VkSamplerCreateInfo-anisotropyEnable-01071(ERROR / SPEC): msgNum: 1233543420 - Validation Error: [ VUID-VkSamplerCreateInfo-anisotropyEnable-01071 ] | MessageID = 0x498660fc | vkCreateSampler(): pCreateInfo->maxAnisotropy is 0.000000 but must be in the range of [1.0, 16.000000] (maxSamplerAnistropy). The Vulkan spec states: If anisotropyEnable is VK_TRUE, maxAnisotropy must be between 1.0 and VkPhysicalDeviceLimits::maxSamplerAnisotropy, inclusive (https://docs.vulkan.org/spec/latest/chapters/samplers.html#VUID-VkSamplerCre...) 0140:err:msvcrt:_wassert (L"!status && \"vkCreateSampler\"",L"../wine/dlls/winevulkan/loader_thunks.c",3442) 1.15-86-g1417af2e -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=57946 --- Comment #1 from Henri Verbeet <hverbeet(a)gmail.com> --- Created attachment 79127 --> http://bugs.winehq.org/attachment.cgi?id=79127 patch Does the attached patch help? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=57946 Henri Verbeet <hverbeet(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #79127|0 |1 is obsolete| | --- Comment #2 from Henri Verbeet <hverbeet(a)gmail.com> --- Created attachment 79132 --> http://bugs.winehq.org/attachment.cgi?id=79132 patch I tried to reproduce this locally, but perhaps unsurprisingly, I was unable to do so on Mesa/radv. As far as I'm able to tell, this is a Direct3D 11 application though, so the patch from the previous comment wouldn't make any difference. I do see the application creating a sampler with a zero max_anisotropy value; the attached patch should avoid that issue for wined3d. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=57946 --- Comment #3 from Henri Verbeet <hverbeet(a)gmail.com> --- Created attachment 79133 --> http://bugs.winehq.org/attachment.cgi?id=79133 alternative patch Alternatively, this patch doesn't enable anisotropy for a max_anisotropy value of 0. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=57946 Henri Verbeet <hverbeet(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Fixed by SHA1| |e98df10a2905f5c937e2fd03833 | |b07977244208f Status|NEW |RESOLVED --- Comment #4 from Henri Verbeet <hverbeet(a)gmail.com> --- Should be fixed by commit e98df10a2905f5c937e2fd03833b07977244208f. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=57946 Andrey Gusev <andrey.goosev(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|GreedFall needs |Multiple games need |maxAnisotropy values |maxAnisotropy values |handling |handling (GreedFall, Mafia | |III: Definitive Edition) Version|1.15 |10.12 Component|vkd3d |d3d Product|vkd3d |Wine -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=57946 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #5 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 10.14. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
WineHQ Bugzilla