Skip to content
Snippets Groups Projects
Commit 6230bfeb authored by Ville Syrjälä's avatar Ville Syrjälä Committed by Faith Ekstrand
Browse files

anv/cmd_buffer: Reuse gen8 Cmd{Set, Reset}Event on gen7

Modern DXVK requires event support [1], but looks like it only
uses vkCmdSetEvent() + vkGetEventStatus(). So we can just
borrow the relevant code from gen8, leaving CmdWaitEvents still
unimplemented.

[1] https://github.com/doitsujin/dxvk/commit/8c3900c533d83d12c970b905183d17a1d3e8df1f



v2: Also move CmdWaitEvents into genX_cmd_buffer.c (Jason)

Signed-off-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: default avatarJason Ekstrand <jason@jlekstrand.net>
parent 39f4dc23
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment