Skip to content

Conversation

@rbernon
Copy link
Contributor

@rbernon rbernon commented Oct 25, 2024

A couple of compilation failures found while experimenting with clang msvc mode.

@rbernon
Copy link
Contributor Author

rbernon commented Oct 25, 2024

Eh I was indeed curious why these casts were not missing in the first place, looks like it'll need to be fixed differently...

@WinterSnowfall
Copy link
Contributor

I don't think we include d3d9types.h in the d3d9 namespace in d8vk, so there's that. I hate compilers. The definitions for D3DRECT/D3DMATRIX are identical, no casting should be necessary.

@rbernon
Copy link
Contributor Author

rbernon commented Oct 25, 2024

For some reason they end up in the namespace when I build with clang-cl, and it definitely fails to build. But I'll look into it.

@Blisto91 Blisto91 added the build label Jul 2, 2025
@rbernon rbernon force-pushed the develop branch 3 times, most recently from f9fc69b to b365ef3 Compare October 16, 2025 06:52
MinGW dxgi import lib advertises some D3DKMT functions, which our dxgi
doesn't implement, that later will crash when the functions are resolved
and we should instead pull them from gdi32.dll.
And provide dummy fallbacks for non-Win32 platforms.

This also updates the definitions to better match the Windows SDK
headers, making future additions easier.
Setting shared resource runtime private data is normally not possible
and is implemented using a Wine-specific D3DKMTEscape code instead.
Setting shared resource runtime private data is normally not possible
and is implemented using a Wine-specific D3DKMTEscape code instead.
Reading the shared resource runtime private data should work with native
D3D resource handles, although the runtime private data format is still
different.
@rbernon rbernon force-pushed the develop branch 2 times, most recently from 002cccf to 98cccf2 Compare October 16, 2025 14:31
This loads the acquire / release functions lazily as they have only
been recently added to Wine GDI32 exports.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants