mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-02 13:01:27 +12:00
vk: Use shared layout generator for all pipelines
- Common code applying flags uniformly fixes bugs with misconfigured options
This commit is contained in:
parent
f241825c73
commit
ffa835efac
1 changed files with 1 additions and 8 deletions
|
@ -568,14 +568,7 @@ namespace vk
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
VkDescriptorSetLayoutCreateInfo set_layout_create_info
|
m_descriptor_set_layout = vk::descriptors::create_layout(bindings);
|
||||||
{
|
|
||||||
.sType = VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_CREATE_INFO,
|
|
||||||
.flags = 0,
|
|
||||||
.bindingCount = ::size32(bindings),
|
|
||||||
.pBindings = bindings.data()
|
|
||||||
};
|
|
||||||
CHECK_RESULT(vkCreateDescriptorSetLayout(m_device, &set_layout_create_info, nullptr, &m_descriptor_set_layout));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void descriptor_table_t::create_descriptor_pool()
|
void descriptor_table_t::create_descriptor_pool()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue