[Bug 59747] New: Total War: Shogun 2 needs support for 'vs30_border' entry point
http://bugs.winehq.org/show_bug.cgi?id=59747 Bug ID: 59747 Summary: Total War: Shogun 2 needs support for 'vs30_border' entry point Product: vkd3d Version: 1.19 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: vkd3d-shader Assignee: wine-bugs@list.winehq.org Reporter: andrey.goosev@gmail.com Distribution: --- Created attachment 80927 --> http://bugs.winehq.org/attachment.cgi?id=80927 shader DX9 vkd3d:0024:trace:vkd3d:D3DCompile2VKD3D data 0591903C, data_size 3320, filename (null), macros 37798B98, include 0054CB30, entry_point "vs30_border", profile "vs_3_0", flags 0x1000, effect_flags 0, secondary_flags 0, secondary_data 00000000, secondary_data_size 0, shader_blob 0054CB2C, messages_blob 0054CB28, compiler_version 42. vkd3d:0024:fixme:vkd3d:D3DCompile2VKD3D Ignoring flags 0x1000. DX11 vkd3d:0024:trace:vkd3d:D3DCompile2VKD3D data 0591903C, data_size 3320, filename (null), macros 36589BB0, include 0054CB48, entry_point "vs30_border", profile "vs_4_0", flags 0x1000, effect_flags 0, secondary_flags 0, secondary_data 00000000, secondary_data_size 0, shader_blob 0054CB44, messages_blob 0054CB40, compiler_version 42. vkd3d:0024:fixme:vkd3d:D3DCompile2VKD3D Ignoring flags 0x1000. Shader output is identical for both modes. vkd3d-1.19-228-g24972e4d -- 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=59747 Zeb Figura <z.figura12@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |z.figura12@gmail.com --- Comment #1 from Zeb Figura <z.figura12@gmail.com> --- Can you please attach the preprocessed shader? And what error do you actually see? -- 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=59747 --- Comment #2 from Andrey Gusev <andrey.goosev@gmail.com> --- Created attachment 80929 --> http://bugs.winehq.org/attachment.cgi?id=80929 preproc It just shows a splash screen for about 5 seconds and then crashes. -- 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=59747 --- Comment #3 from Zeb Figura <z.figura12@gmail.com> --- (In reply to Andrey Gusev from comment #2)
Created attachment 80929 [details] preproc
It just shows a splash screen for about 5 seconds and then crashes.
Can you please attach all of the shaders dumped by setting VKD3D_SHADER_DUMP_PATH? -- 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=59747 --- Comment #4 from Andrey Gusev <andrey.goosev@gmail.com> --- (In reply to Zeb Figura from comment #3)
Can you please attach all of the shaders dumped by setting VKD3D_SHADER_DUMP_PATH?
See shader attachment in comment 1. Dumped just one file. As I said before the only difference is in prefix of .hlsl file - vs_3_0 for DX9 and vs_4_0 for DX11. Source is identical. -- 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=59747 --- Comment #5 from Zeb Figura <z.figura12@gmail.com> --- You should be seeing a file labeled something like "vkd3d-shader-###-vs_3_0-preproc.hlsl". Is that really absent? Can you please attach a log with WINEDEBUG=+d3dcompiler VKD3D_SHADER_DEBUG=trace ? -- 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=59747 --- Comment #6 from Andrey Gusev <andrey.goosev@gmail.com> --- (In reply to Zeb Figura from comment #5)
You should be seeing a file labeled something like "vkd3d-shader-###-vs_3_0-preproc.hlsl". Is that really absent?
VKD3D_SHADER_DUMP_PATH gives only one file named 'vkd3d-shader-8621bef7fe36179368e73a63583574fb-vs_3_0-source.hlsl'; I've made it short to just 'vkd3d-shader-vs_3_0-source.hlsl' -> https://bugs.winehq.org/attachment.cgi?id=80927&action=edit
Can you please attach a log with WINEDEBUG=+d3dcompiler VKD3D_SHADER_DEBUG=trace ?
VKD3D_SHADER_DEBUG=trace -> https://bugs.winehq.org/attachment.cgi?id=80929&action=edit WINEDEBUG=+d3dcompiler -> 0024:trace:d3dcompiler:D3DCompile data 0591903C, data_size 3320, filename (null), defines 3D3126D0, include 0054CB30, entrypoint "vs30_border", target "vs_3_0", sflags 0x1000, eflags 0, shader 0054CB2C, error_messages 0054CB28. 0024:trace:d3dcompiler:D3DCompile2 data 0591903C, data_size 3320, filename (null), macros 3D3126D0, include 0054CB30, entry_point "vs30_border", profile "vs_3_0", flags 0x1000, effect_flags 0, secondary_flags 0, secondary_data 00000000, secondary_data_size 0, shader_blob 0054CB2C, messages_blob 0054CB28. -- 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=59747 Zeb Figura <z.figura12@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Total War: Shogun 2 needs |Total War: Shogun 2 crashes |support for 'vs30_border' |during HLSL preprocessing |entry point | -- 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=59747 Zeb Figura <z.figura12@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|vkd3d-shader |hlsl --- Comment #7 from Zeb Figura <z.figura12@gmail.com> --- It crashes inside a Close() callback. It's not deterministic; it doesn't always crash inside the same one. Adding warn+heap showed a hint as to why. I traced the HLSL pointers, and found that, curiously, one of them was NULL. That led me to https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/2040. -- 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=59747 Andrey Gusev <andrey.goosev@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Fixed by SHA1| |bcd4f45431005760ca2635843eb | |38841da50dda8 Status|NEW |RESOLVED --- Comment #8 from Andrey Gusev <andrey.goosev@gmail.com> --- Marking fixed. -- 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