Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions src/asahi/vulkan/tests/test-hk-execution-allowance.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,15 @@ hk_cmd_buffer_emit_cs_jump(struct hk_cmd_buffer *cmd, void *current,
return (uint8_t *)current + AGX_CDM_STREAM_LINK_LENGTH;
}

/* The streams here record no alias sites (hk_cs::alias_sites stays zero), so
* the merge never moves any. */
void
hk_cmd_buffer_move_alias_sites(struct hk_cmd_buffer *cmd, const void *from,
const void *from_end, uint8_t *to, size_t skip)
{
assert(!"no alias sites are recorded");
}

/* Merged streams here record no attachments; with more than one merge call
* the compiler keeps hk_cs_merge_cdm() out of line, with its attachment loop. */
bool
Expand Down
9 changes: 9 additions & 0 deletions src/asahi/vulkan/tests/test-hk-tess-batch.c
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,15 @@ hk_cmd_buffer_emit_cs_jump(struct hk_cmd_buffer *cmd, void *current,
return (uint8_t *)current + AGX_CDM_STREAM_LINK_LENGTH;
}

/* The streams here record no alias sites (hk_cs::alias_sites stays zero), so
* the merge never moves any. */
void
hk_cmd_buffer_move_alias_sites(struct hk_cmd_buffer *cmd, const void *from,
const void *from_end, uint8_t *to, size_t skip)
{
assert(!"no alias sites are recorded");
}

/* As the driver's: move to a new chunk through a link when the space does
* not fit. */
void
Expand Down