This series allows linking of our d3dx9.dll against d3dcompiler.lib from the Windows SDK. It presumably also fixes the d3dcompiler tests, although I didn't bother building them with Visual Studio so far.
And yes, I did check, that stringification macro works on MSVC.
--
v3: d3dcompiler: Make D3DAssemble a private export.
d3dcompiler/tests: Load D3DAssemble via GetProcAddress.
d3dx9: Load D3DAssemble via GetProcAddress.
https://gitlab.winehq.org/wine/wine/-/merge_requests/2705
On Thu Apr 27 13:22:42 2023 +0000, Giovanni Mascellani wrote:
> This means that expressions of type other than `float` are casted to
> `float`. In principle that should be correct in the end, because AFAIU
> the sign should always be mapped correctly, but it makes me a bit
> nervous. Could the type of zero be set to coincide with the type of the argument?
Pushed an update to do this, since it seems like if anything it'd be an optimization - as part of the update I've also added int versions of all the tests, to make sure it's doing the right thing for float and non-float types.
--
https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/178#note_31399
Printing using EMF spool files is still missing some features and has some bugs:
- ResetDC should generally work on gdi side but is ignored on playback - because of that it wasn't really tested
- no support for ExtEscape / Escape yet
- DC bounds are incorrect
In order to enable printing using EMF spool files it's needed to change printer print processor to wineps.
--
v3: gdi32: Add GdiIsMetaPrintDC implementation.
https://gitlab.winehq.org/wine/wine/-/merge_requests/2718
Printing using EMF spool files is still missing some features and has some bugs:
- ResetDC should generally work on gdi side but is ignored on playback - because of that it wasn't really tested
- no support for ExtEscape / Escape yet
- DC bounds are incorrect
In order to enable printing using EMF spool files it's needed to change printer print processor to wineps.
--
v2: gdi32: Add GdiIsMetaPrintDC implementation.
gdi32: Implicitly call StartPage while creating spool file.
gdi32: Add support for creating EMF spool files.
gdi32: Factor out emf_create helper.
gdi32: Factor out emf_eof helper.
gdi32: Improve EMF DC cleanup when CloseEnhMetafile is not called.
gdi32: Store the printer info in a structure.
wineps: Reset current position on every page.
localspl: Validate datatype in StartDocPrinter.
localspl: Add support for PRINTER_ATTRIBUTE_RAW_ONLY printer attribute.
https://gitlab.winehq.org/wine/wine/-/merge_requests/2718
Printing using EMF spool files is still missing some features and has some bugs:
- ResetDC should generally work on gdi side but is ignored on playback - because of that it wasn't really tested
- no support for ExtEscape / Escape yet
- DC bounds are incorrect
In order to enable printing using EMF spool files it's needed to change printer print processor to wineps.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/2718