Normalise the incoming vkd3d_shader_instruction IR to the shader model 6 pattern where only one patch constant function is emitted. This allows generation of a single patch constant function in SPIR-V.
--
v13: vkd3d-shader/spirv: Declare the phase SPIR-V function in spirv_compiler_enter_shader_phase().
vkd3d-shader/spirv: Remove the hull shader phase array.
vkd3d-shader/trace: Trace the normalised instruction array after tracing the input.
vkd3d-shader/ir: Merge all shader IR fork and join phases into a single phase.
https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/84
--
v5: vkd3d: Do not keep the CS queue locked while processing it.
vkd3d: Always enqueue CS operations, even if they can be executed right away.
vkd3d: Hold the queue mutex when adding the queue to a blocked list.
https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/94
Otherwise it's not clear which clauses in vkd3d_shader_compile() really
apply to other functions. For example, many of the functions currently
refering to vkd3d_shader_compile() don't even take a vkd3d_shader_compile_info
parameter.
--
v3: vkd3d-shader: Make documentation for "messages" parameters self contained.
https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/110
--
v3: vkd3d-shader/hlsl: Get rid of the check_invalid_matrix_modifiers() helper.
vkd3d-shader/hlsl: Apply latent majority modifiers to typedefs as well.
vkd3d-shader/hlsl: Do not set an initial latent matrix majority.
vkd3d-shader/hlsl: Store the matrix majority as a type modifiers bitmask.
vkd3d-shader/hlsl: Apply latent type modifiers to matrix array typedefs.
tests: Add more tests for pack_matrix pragmas.
https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/102
--
v3: dxgi: Reset the back buffer index to zero on ResizeBuffers().
dxgi/tests: Test that ResizeBuffers() resets the back buffer index to zero.
dxgi: Always assume that a D3D12 swapchain always uses user images.
dxgi: Immediately error out when creating a D3D12 swapchain on a non-immediate queue.
dxgi/tests: Test that D3D12 swapchains can only be created on direct command queues.
https://gitlab.winehq.org/wine/wine/-/merge_requests/2296
On Tue Feb 28 12:09:51 2023 +0000, Brendan Shanks wrote:
> Thanks for this, I hadn't realized `IOPMCopyBatteryInfo` was so deprecated.
> Looking at [Chromium's use of
> `IOPSCopyPowerSources`](https://source.chromium.org/chromium/chromium/src/+/main:services/device/battery/battery_status_manager_mac.cc;drc=098756533733ea50b2dcb1c40d9a9e18d49febbe;l=127),
> they first check that the source is present and internal, which seems
> like a good idea.
I changed it so it it does similar checks to Chromium and uses the first power source that works (and removed the internal battery check on kIOPSTypeKey since that is always true in that case already)
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/2283#note_25736
On Mon Feb 27 20:50:31 2023 +0000, Brendan Shanks wrote:
> The documentation for all these keys says that the type is
> `kCFNumberIntType` (equivalent to SInt32, but it would be better to use
> the documented type)
Thanks, should be fixed now!
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/2283#note_25735
On Mon Feb 27 20:50:31 2023 +0000, Brendan Shanks wrote:
> You can `CFRelease(blob)` at this point, and then remove all the calls
> from later in the function
I believe it is still needed for `IOPSGetPowerSourceDescription`, but I released after it is no longer being called
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/2283#note_25734