Henri Verbeet
e3001fcaa4
vkd3d-common: Introduce VKD3D_SHADER_API_VERSION_CURRENT.
2025-08-28 20:04:02 +02:00
Henri Verbeet
74d8c23f71
include: Remove some redudant TAG_* definintions from vkd3d_shader_util.h.
...
We already have all of these in vkd3d_common.h.
2025-07-31 14:54:59 +02:00
Henri Verbeet
f6a9def564
vkd3d-shader/spirv: Update the SPIR-V grammar JSON to the vulkan-sdk-1.4.313.0 release.
2025-07-30 15:11:19 +02:00
Nikolay Sivov
1913f5e6f9
vkd3d-shader/fx: Parse array selector expressions for fx_2_0.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com >
2025-06-11 20:09:05 +02:00
Henri Verbeet
b389fa89e4
demos: Make the demos work in the macOS build.
2025-05-06 18:42:09 +02:00
Henri Verbeet
bebc550f02
vkd3d-shader/spirv: Implement outputting opcode names.
2025-03-10 14:47:00 +01:00
Nikolay Sivov
09226543fe
vkd3d-shader/fx: Implement parsing complex value and index expressions.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com >
2025-02-24 16:19:07 +01:00
Henri Verbeet
1fd89abcc3
vkd3d-shader: Enable DXIL support in the default configuration.
2025-02-24 15:10:08 +01:00
Giovanni Mascellani
3264378fa0
tests: Print the file name instead of the test name in test logs.
...
Some test programs, particularly the shader runner, are built from
many different files nowadays, and a line number is relatively
cumbersome to use if you don't know which file that line comes from.
2024-12-03 12:38:26 +01:00
Anna (navi) Figueiredo Gomes
127ae6cf12
vkd3d: Implement d3d12_command_list_OMSetDepthBounds().
...
Based on the design document, "The runtime will not clamp or validate
the input, but implementations may clamp to the range [0,1] if necessary.",
so we test for the EXT_depth_range_unrestricted extension, and only clamp if
it's not available (thus, necessary to do so).
NaNs are converted to zero as per "NaNs must be treated as 0, but the runtime
will convert NaNs to 0 on behalf of the implementation.", and a default bounds
are set to 0.0 and 1.0.
2024-09-11 14:53:33 +02:00
Francisco Casas
becdcec147
vkd3d-shader: Avoid div by zero on assert in vkd3d_calloc() (ubsan).
2024-08-20 21:26:26 +02:00
Henri Verbeet
cd9879f237
vkd3d-common: Replace assert() with VKD3D_ASSERT().
2024-08-13 21:20:28 +02:00
Giovanni Mascellani
fb55c2b227
vkd3d: Emit an ERR() when reaching unreachable code.
...
This way the ERR() configuration is reused for unreachable code.
2024-07-29 13:17:19 +02:00
Giovanni Mascellani
4ada72a397
vkd3d: Allow aborting on ERR().
2024-07-29 13:17:19 +02:00
Giovanni Mascellani
d7fc2693c4
vkd3d: Introduce a softer form of assertion.
...
Triggering an ERR() instead of aborting the program.
2024-07-29 13:17:19 +02:00
Giovanni Mascellani
a484063cd2
vkd3d: Introduce debug severity MESSAGE.
...
That's intended for messages that it's pretty important that the
user receives, but that are not proper error messages.
2024-07-29 13:17:19 +02:00
Giovanni Mascellani
021a7f030a
vkd3d: Allow disabling ERR() by defining VKD3D_NO_ERROR_MESSAGES.
2024-07-29 13:17:19 +02:00
Giovanni Mascellani
60ecf8c12b
vkd3d: Disable FIXME_ONCE() when VKD3D_NO_DEBUG_MESSAGES is defined.
...
Similarly to FIXME().
2024-07-29 13:17:19 +02:00
Giovanni Mascellani
4c1cc6101f
vkd3d: Disable WARN_ON() when VKD3D_NO_DEBUG_MESSAGES is defined.
...
Similarly to WARN().
2024-07-29 13:17:19 +02:00
Giovanni Mascellani
4f67675a51
tests: Support using the Agility SDK in the crosstests.
2024-07-09 16:57:03 +02:00
Stefan Dösinger
021eb28584
include: Get rid of the RB_FOR_EACH* macros.
...
They're largely unused, and RB_FOR_EACH_ENTRY_DESTRUCTOR is broken
because it uses WINE_RB_ENTRY_VALUE which doesn't exist in vkd3d.
2024-06-13 23:44:43 +02:00
Yuxuan Shui
8a459f5903
tests: Pass the correct buffer size to vsnprintf() in vkd3d_test_push_context().
2024-06-12 19:04:22 +02:00
Stefan Dösinger
aad76f4ed2
vkd3d: Implement vkd3d_shader_cache_put.
2024-04-24 23:49:15 +02:00
Henri Verbeet
af33caf036
vkd3d-common: Introduce vkd3d_atomic_exchange_ptr().
2024-04-24 23:49:12 +02:00
Henri Verbeet
b1c326ce56
vkd3d-common: Introduce vkd3d_atomic_exchange_u32().
2024-04-24 23:49:11 +02:00