https://bugs.winehq.org/show_bug.cgi?id=56691
Bug ID: 56691 Summary: Hitman: Absolution crashes at launch Product: vkd3d Version: 1.11 Hardware: x86-64 OS: Linux Status: NEW Severity: minor Priority: P2 Component: hlsl Assignee: wine-bugs@winehq.org Reporter: andrey.goosev@gmail.com Distribution: ---
With builtin d3dcompiler_43
0120:err:d3dcompiler:D3DCompile2 Failed to compile shader, vkd3d result -4. 0120:err:d3dcompiler:D3DCompile2 Shader log: 0120:err:d3dcompiler:D3DCompile2 <anonymous>:1:807: E5000: Reserved keyword "unsigned" used. 0120:err:d3dcompiler:D3DCompile2 <anonymous>:1:1038: E5000: Reserved keyword "unsigned" used. 0120:err:d3dcompiler:D3DCompile2 <anonymous>:1:1269: E5000: Reserved keyword "unsigned" used. 0120:err:d3dcompiler:D3DCompile2 <anonymous>:1:1543: E5000: Reserved keyword "unsigned" used. 0120:err:d3dcompiler:D3DCompile2 <anonymous>:1:1798: E5000: Reserved keyword "unsigned" used. 0120:err:d3dcompiler:D3DCompile2 <anonymous>:1:2053: E5000: Reserved keyword "unsigned" used. 0120:err:d3dcompiler:D3DCompile2 <anonymous>:1:2357: W5300: Implicit truncation of vector type. 0120:err:d3dcompiler:D3DCompile2 <anonymous>:1:2598: W5300: Implicit truncation of vector type. 0120:err:d3dcompiler:D3DCompile2 <anonymous>:1:2839: W5300: Implicit truncation of vector type.
1.11-556-g9c83caed
https://bugs.winehq.org/show_bug.cgi?id=56691
--- Comment #1 from Nikolay Sivov bunglehead@gmail.com --- It fails on a very first shader, using "unsigned int" type for local variable. Current we reject "unsigned" keyword right away apparently, but instead "unsigned int" should be equivalent to "uint".
I'll add some tests, that's probably not hard to implement.
https://bugs.winehq.org/show_bug.cgi?id=56691
--- Comment #2 from Nikolay Sivov bunglehead@gmail.com --- https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/871
https://bugs.winehq.org/show_bug.cgi?id=56691
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Hitman: Absolution crashes |Hitman: Absolution crashes |at launch |at launch, needs "unsigned | |int" type
https://bugs.winehq.org/show_bug.cgi?id=56691
--- Comment #3 from Nikolay Sivov bunglehead@gmail.com --- This is now fixed https://source.winehq.org/git/vkd3d.git/commit/ea177a7750401c898699c5e3ab50f.... I did not retest.
https://bugs.winehq.org/show_bug.cgi?id=56691
Andrey Gusev andrey.goosev@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #4 from Andrey Gusev andrey.goosev@gmail.com --- Marking as resolved.
https://bugs.winehq.org/show_bug.cgi?id=56691
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Nikolay Sivov bunglehead@gmail.com --- Closing bugs fixed in 1.13.