mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 02:58:05 +02:00
dzn: Define a symbol that was present in older D3D headers
D3D12_BARRIER_SYNC_INPUT_ASSEMBLER was renamed to D3D12_BARRIER_SYNC_INDEX_INPUT, so conditionally define the old name based on the version of the headers that are being used. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20617>
This commit is contained in:
parent
3eb33ec9e9
commit
1e0adac84a
1 changed files with 3 additions and 0 deletions
|
|
@ -28,6 +28,9 @@
|
|||
#include "vk_format.h"
|
||||
#include "vk_util.h"
|
||||
|
||||
#if D3D12_SDK_VERSION >= 608
|
||||
static const D3D12_BARRIER_SYNC D3D12_BARRIER_SYNC_INPUT_ASSEMBLER = D3D12_BARRIER_SYNC_INDEX_INPUT;
|
||||
#endif
|
||||
|
||||
static void
|
||||
dzn_cmd_buffer_exec_transition_barriers(struct dzn_cmd_buffer *cmdbuf,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue