https://bugs.winehq.org/show_bug.cgi?id=46649
Bug ID: 46649 Summary: Tom Clancy's Rainbow Six: Vegas 2 needs D3DXDisassembleShader implementation Product: Wine Version: 4.1 Hardware: x86-64 OS: Linux Status: NEW Severity: minor Priority: P2 Component: directx-d3dx9 Assignee: wine-bugs@winehq.org Reporter: andrey.goosev@gmail.com Distribution: ---
Crashes at launch with 'Message General protection fault! History: '
fixme:d3dx:D3DXDisassembleShader 0x7671b00 0 (null) 0x62ce18: stub
wine-4.1-207-g7907ccfdcb
https://bugs.winehq.org/show_bug.cgi?id=46649
Andrey Gusev andrey.goosev@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |STAGED Staged patchset| |https://github.com/Glorious | |Eggroll/wine-staging-mirror | |/tree/master/patches/d3dx9_ | |36-D3DXDisassembleShader
https://bugs.winehq.org/show_bug.cgi?id=46649
Andrey Gusev andrey.goosev@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Staged patchset|https://github.com/Glorious |https://github.com/wine-sta |Eggroll/wine-staging-mirror |ging/wine-staging/tree/mast |/tree/master/patches/d3dx9_ |er/patches/d3dx9_36-D3DXDis |36-D3DXDisassembleShader |assembleShader
https://bugs.winehq.org/show_bug.cgi?id=46649
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|minor |normal CC| |z.figura12@gmail.com Summary|Tom Clancy's Rainbow Six: |Multiple applications need |Vegas 2 needs |D3DXDisassembleShader() |D3DXDisassembleShader |implementation (Tom |implementation |Clancy's Rainbow Six: Vegas | |2, The Void)
--- Comment #1 from Zebediah Figura z.figura12@gmail.com --- This also apparently affects The Void:
https://bugs.winehq.org/show_bug.cgi?id=46649
--- Comment #2 from Zebediah Figura z.figura12@gmail.com --- (In reply to Zebediah Figura from comment #1)
This also apparently affects The Void:
I can confirm this, although The Void also needs D3DXFillCubeTextureTX() to return success first. I've filed bug 48528 for this.
https://bugs.winehq.org/show_bug.cgi?id=46649
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |titan.costa@gmail.com
--- Comment #3 from Zebediah Figura z.figura12@gmail.com --- *** Bug 50469 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=46649
--- Comment #4 from Henri Verbeet hverbeet@gmail.com --- In case anyone wants to pick this up, this functionality has been implemented in vkd3d-shader for shader model 4 and 5 shaders by Isabella. It should be relatively straightforward to port wined3d's shader model 1-3 parser (in shader_sm1.c) to vkd3d-shader and then call vkd3d-shader from d3dx9.
https://bugs.winehq.org/show_bug.cgi?id=46649
--- Comment #5 from Nikolay Sivov bunglehead@gmail.com --- With Wine 6.16 this issues is shifted to d3dcompiler's D3DDisassemble() that needs to support pre-sm4 bytecode [1].
[1] https://source.winehq.org/git/wine.git/?a=commit;h=4ad4e4a133e92f923f9eb3da5...
https://bugs.winehq.org/show_bug.cgi?id=46649
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Fixed by SHA1| |7bf58c895c3145187bbc6dcbe4e | |0e14d11457a39 Status|STAGED |RESOLVED
--- Comment #6 from Nikolay Sivov bunglehead@gmail.com --- This is doing D3DXDisassembleShader -> D3DDisassemble -> libvkd3d-shader. It seems to work for me, at least for Rainbow Six. I'm going to mark this fixed, please open specific reports with vkd3d if some shader is not diassembled correctly.
Commit 7bf58c895c3145187bbc6dcbe4e0e14d11457a39.
https://bugs.winehq.org/show_bug.cgi?id=46649
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 8.0-rc1.