This is required by https://bugs.winehq.org/show_bug.cgi?id=54660 .
--
v9: vkd3d-shader/hlsl: Consider duplicated input semantic types equivalent in SM1.
vkd3d-shader/hlsl: Handle possibly different types in input semantic var load.
vkd3d-shader/hlsl: Error out when a semantic is used with incompatible types.
vkd3d-shader/hlsl: Error out when an output semantic is used more than once.
vkd3d-shader/hlsl: Support semantics for array types.
vkd3d-shader/hlsl: Don't create semantic vars more than once.
vkd3d-shader/hlsl: Move get_array_size() and get_array_type() to hlsl.c.
tests: Test duplicated semantics.
tests: Test array types with semantics.
vkd3d-shader/hlsl: Avoid invalid input/output copies for non-numeric types.
tests: Map unindentified hrs on compilation.
tests: Allow invalid vertex shader tests.
tests: Expect S_OK result on [vertex shader].
https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/148
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