Henri Verbeet pushed to branch master at wine / vkd3d
Commits: 758a4bef by Francisco Casas at 2025-05-05T14:15:14+02:00 vkd3d-shader/hlsl: Parse barriers.
And introduce hlsl_ir_sync to represent them.
- - - - - a975c566 by Francisco Casas at 2025-05-05T14:15:23+02:00 vkd3d-shader/hlsl: Mark stores dirty on interlocked operation in vectorize_stores().
- - - - - b89f0bc7 by Francisco Casas at 2025-05-05T14:17:47+02:00 vkd3d-shader/hlsl: Generate vsir for HLSL_IR_SYNC operations.
The following table shows how each intrinsic maps to d3d assembly and the flags that appear in the tpf bytecode, in binary.
GroupMemoryBarrier() sync_g 0010 GroupMemoryBarrierWithGroupSync() sync_g_t 0011 DeviceMemoryBarrier() sync_uglobal 1000 DeviceMemoryBarrierWithGroupSync() sync_uglobal_t 1001 AllMemoryBarrier() sync_uglobal_g 1010 AllMemoryBarrierWithGroupSync() sync_uglobal_g_t 1011
- - - - - e6db0ab6 by Francisco Casas at 2025-05-05T14:27:35+02:00 tests: Add tests for DeviceMemoryBarrierWithGroupSync().
- - - - -
7 changed files:
- Makefile.am - libs/vkd3d-shader/hlsl.c - libs/vkd3d-shader/hlsl.h - libs/vkd3d-shader/hlsl.y - libs/vkd3d-shader/hlsl_codegen.c - libs/vkd3d-shader/tpf.c - + tests/hlsl/barriers.shader_test
View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/compare/541060215e338a419a5a6fe6ae156...