mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 13:58:04 +02:00
radv: track the pipeline bind point for indirect commands layout
This will be used to implement DGC compute. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24275>
This commit is contained in:
parent
fbf3f64c6d
commit
bb82a3402a
2 changed files with 3 additions and 0 deletions
|
|
@ -934,6 +934,7 @@ radv_CreateIndirectCommandsLayoutNV(VkDevice _device, const VkIndirectCommandsLa
|
|||
|
||||
vk_object_base_init(&device->vk, &layout->base, VK_OBJECT_TYPE_INDIRECT_COMMANDS_LAYOUT_NV);
|
||||
|
||||
layout->pipeline_bind_point = pCreateInfo->pipelineBindPoint;
|
||||
layout->input_stride = pCreateInfo->pStreamStrides[0];
|
||||
layout->token_count = pCreateInfo->tokenCount;
|
||||
typed_memcpy(layout->tokens, pCreateInfo->pTokens, pCreateInfo->tokenCount);
|
||||
|
|
|
|||
|
|
@ -3224,6 +3224,8 @@ void radv_sqtt_emit_relocated_shaders(struct radv_cmd_buffer *cmd_buffer, struct
|
|||
struct radv_indirect_command_layout {
|
||||
struct vk_object_base base;
|
||||
|
||||
VkPipelineBindPoint pipeline_bind_point;
|
||||
|
||||
uint32_t input_stride;
|
||||
uint32_t token_count;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue