mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-26 10:00:22 +01:00
radv: store the bind point when creating descriptors with templates
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
This commit is contained in:
parent
7ea15a36fb
commit
cf224014dd
2 changed files with 2 additions and 0 deletions
|
|
@ -847,6 +847,7 @@ VkResult radv_CreateDescriptorUpdateTemplateKHR(VkDevice _device,
|
|||
return vk_error(VK_ERROR_OUT_OF_HOST_MEMORY);
|
||||
|
||||
templ->entry_count = entry_count;
|
||||
templ->bind_point = pCreateInfo->pipelineBindPoint;
|
||||
|
||||
for (i = 0; i < entry_count; i++) {
|
||||
const VkDescriptorUpdateTemplateEntryKHR *entry = &pCreateInfo->pDescriptorUpdateEntries[i];
|
||||
|
|
|
|||
|
|
@ -720,6 +720,7 @@ struct radv_descriptor_update_template_entry {
|
|||
|
||||
struct radv_descriptor_update_template {
|
||||
uint32_t entry_count;
|
||||
VkPipelineBindPoint bind_point;
|
||||
struct radv_descriptor_update_template_entry entry[0];
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue