Commit graph

15 commits

Author SHA1 Message Date
Alexandre Julliard
23111d625b vkd3d: Import upstream release 1.10. 2023-12-06 17:54:53 +01:00
Alexandre Julliard
2863311d7c vkd3d: Disable printf format checks.
clang warns by default, and the existing printf formats assume Unix
type definitions.
2023-11-23 22:51:07 +01:00
Alexandre Julliard
3c186a5ed0 vkd3d: Import upstream release 1.9. 2023-09-22 20:54:15 +02:00
Martin Storsjö
9a3266537d include: Update the d3d12 headers from vkd3d.
This corresponds to vkd3d as of commit
e597b0d80f39f716a8740cb0be55edc78f4599d6.

This brings in a function signature fix for the implementation
of ID3D12CommandQueue::UpdateTileMappings() as well, from
vkd3d commit e98e6c9b530995e68bd019a3319d90223ed864cf.

Signed-off-by: Martin Storsjö <martin@martin.st>
2023-09-19 16:59:45 +02:00
Conor McCarthy
b2600c8338 vkd3d: Leave the command queue op mutex locked after a partial flush.
All return paths in d3d12_command_queue_flush_ops_locked() must
leave the op mutex locked.

(cherry-picked from upstream commit e27ceddfb4a89470d5d35ab4391d0a5cf4453ef1)
2023-05-03 22:09:17 +02:00
Henri Verbeet
7f90c9d7eb vkd3d: Update the version information for release 1.7. 2023-04-20 22:55:56 +02:00
Alexandre Julliard
75ab843114 vkd3d: Import upstream release 1.7. 2023-03-24 13:02:45 +01:00
Alexandre Julliard
891e2f739f vkd3d: Import upstream release 1.6. 2022-12-07 16:44:08 +01:00
Alexandre Julliard
5811f5f29e vkd3d: Update version number. 2022-09-27 10:43:47 +02:00
Alexandre Julliard
c3025582fd vkd3d: Import upstream release 1.5. 2022-09-26 21:49:54 +02:00
Martin Storsjö
7ee17a15e0 vkd3d: Fix the signature of vkd3d_spirv_build_op_type_image.
Don't assume that enums and uint32_t parameters are identical. Clang
16 changes the diagonstic for incompatible function pointer types
from a warning into an error by default.

This fixes the following error, when built (for aarch64, but probably
also for other architectures) in MSVC mode:

../src/libs/vkd3d/libs/vkd3d-shader/spirv.c:1083:13: error: incompatible function pointer types passing 'uint32_t (struct vkd3d_spirv_builder *, uint32_t, SpvDim, uint32_t, uint32_t, uint32_t, uint32_t, SpvImageFormat)' (aka 'unsigned int (struct vkd3d_spirv_builder *, unsigned int, enum SpvDim_, unsigned int, unsigned int, unsigned int, unsigned int, enum SpvImageFormat_)') to parameter of type 'vkd3d_spirv_build7_pfn' (aka 'unsigned int (*)(struct vkd3d_spirv_builder *, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int)') [-Wincompatible-function-pointer-types]
            vkd3d_spirv_build_op_type_image);
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/libs/vkd3d/libs/vkd3d-shader/spirv.c:612:68: note: passing argument to parameter 'build_pfn' here
        SpvOp op, const uint32_t *operands, vkd3d_spirv_build7_pfn build_pfn)
                                                                   ^
2022-08-15 18:13:35 +02:00
Alexandre Julliard
e2d96342df makefiles: Use the defined external lib variables also when building the libs themselves.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-29 23:23:41 +02:00
Alexandre Julliard
072eb3a540 vkd3d: Import upstream release 1.4.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-23 22:46:13 +02:00
Alexandre Julliard
7c908186ec vkd3d: Only use __builtin_popcount in PE builds.
It's not compatible with -mabi=ms.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52664
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-14 11:26:22 +01:00
Alexandre Julliard
97db56ab61 libs: Import upstream code from vkd3d release 1.3.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-03 10:07:16 +01:00