mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-09 19:10:12 +01:00
radv: Add radv_indirect_unaligned_dispatch
Reviewed-by: Konstantin Seurer <konstantin.seurer@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19292>
This commit is contained in:
parent
030a1f6843
commit
fa578f280e
2 changed files with 15 additions and 0 deletions
|
|
@ -8885,6 +8885,19 @@ radv_unaligned_dispatch(struct radv_cmd_buffer *cmd_buffer, uint32_t x, uint32_t
|
|||
radv_compute_dispatch(cmd_buffer, &info);
|
||||
}
|
||||
|
||||
void
|
||||
radv_indirect_unaligned_dispatch(struct radv_cmd_buffer *cmd_buffer, struct radeon_winsys_bo *bo,
|
||||
uint64_t va)
|
||||
{
|
||||
struct radv_dispatch_info info = {0};
|
||||
|
||||
info.indirect = bo;
|
||||
info.va = va;
|
||||
info.unaligned = 1;
|
||||
|
||||
radv_compute_dispatch(cmd_buffer, &info);
|
||||
}
|
||||
|
||||
void
|
||||
radv_indirect_dispatch(struct radv_cmd_buffer *cmd_buffer, struct radeon_winsys_bo *bo, uint64_t va)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1882,6 +1882,8 @@ radv_get_viewport_xform(const VkViewport *viewport, float scale[3], float transl
|
|||
*/
|
||||
void radv_unaligned_dispatch(struct radv_cmd_buffer *cmd_buffer, uint32_t x, uint32_t y,
|
||||
uint32_t z);
|
||||
void radv_indirect_unaligned_dispatch(struct radv_cmd_buffer *cmd_buffer,
|
||||
struct radeon_winsys_bo *bo, uint64_t va);
|
||||
|
||||
void radv_indirect_dispatch(struct radv_cmd_buffer *cmd_buffer, struct radeon_winsys_bo *bo,
|
||||
uint64_t va);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue