Skip to content

Commit

Permalink
hax.
Browse files Browse the repository at this point in the history
  • Loading branch information
HansKristian-Work committed Jan 14, 2025
1 parent 815baf7 commit d1f373c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libs/vkd3d/command.c
Original file line number Diff line number Diff line change
Expand Up @@ -17712,6 +17712,8 @@ static void STDMETHODCALLTYPE d3d12_command_queue_ExecuteCommandLists(ID3D12Comm

if (cmd_list->debug_capture)
sub.execute.debug_capture = true;
if (cmd_list->cmd.needs_global_queue_sync)
sub.execute.needs_global_queue_sync = true;

/* Submission logic for IB fallbacks seems to have exposed something ... very dodgy in RADV. */
if (cmd_list->cmd.uses_dgc_compute_in_async_compute &&
Expand Down
2 changes: 2 additions & 0 deletions libs/vkd3d/vkd3d_private.h
Original file line number Diff line number Diff line change
Expand Up @@ -2868,6 +2868,7 @@ struct d3d12_command_list_sequence
unsigned int active_non_inline_running_queries;
bool uses_dgc_compute_in_async_compute;
bool clear_uav_pending;
bool needs_global_queue_sync;

/* Number of draws, dispatches, copies etc. Used to fuse barrier-only
* command buffers for staggered submissions. */
Expand Down Expand Up @@ -3231,6 +3232,7 @@ struct d3d12_command_queue_submission_execute

bool debug_capture;
bool split_submission;
bool needs_global_queue_sync;
};

struct d3d12_command_queue_submission_bind_sparse
Expand Down

0 comments on commit d1f373c

Please sign in to comment.