[Bug 43740] New: Just Cause 2 GenerateMips fails

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Sep 20 13:26:56 CDT 2017


https://bugs.winehq.org/show_bug.cgi?id=43740

            Bug ID: 43740
           Summary: Just Cause 2 GenerateMips fails
           Product: Wine-staging
           Version: 2.17
          Hardware: x86-64
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: -unknown
          Assignee: wine-bugs at winehq.org
          Reporter: byi5000 at gmail.com
                CC: erich.e.hoover at wine-staging.com, michael at fds-team.de,
                    sebastian at fds-team.de
      Distribution: ---

(Since this is about a wine-staging patch, i selected wine-staging)

Since 2.17-staging we have this patch
(https://dev.wine-staging.com/patches/190/). It fixed the GenerateMips for
(some,most?) directx11 games, but it is missing for directx10.
Just Cause 2 reports fixme:d3d11:d3d10_device_GenerateMips iface 0x3625c24,
shader_resource_view 0xc61eb74 stub!

It *should* be very much the same function just with other structs i guess the
missing dx10 function is at
https://source.winehq.org/git/wine.git/blob/HEAD:/dlls/d3d11/device.c#l4175

we already have unsafe_impl_from_ID3D10ShaderResourceView at
https://source.winehq.org/git/wine.git/blob/HEAD:/dlls/d3d11/view.c#l2338

but i wasn't able to locate the equivalent of
device_from_immediate_ID3D11DeviceContext (at
https://source.winehq.org/git/wine.git/blob/HEAD:/dlls/d3d11/device.c#l42) for
directx10

but i gonna leave that to the real programmers anyway ;)

-- 
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.



More information about the wine-bugs mailing list