[Vulkan] Bind the vertex set to DS slot 2

This commit is contained in:
DrChat
2018-02-18 18:50:53 -06:00
parent 9463732709
commit 4e1a55f585
3 changed files with 13 additions and 70 deletions

View File

@@ -44,7 +44,8 @@ PipelineCache::~PipelineCache() { Shutdown(); }
VkResult PipelineCache::Initialize(
VkDescriptorSetLayout uniform_descriptor_set_layout,
VkDescriptorSetLayout texture_descriptor_set_layout) {
VkDescriptorSetLayout texture_descriptor_set_layout,
VkDescriptorSetLayout vertex_descriptor_set_layout) {
VkResult status;
// Initialize the shared driver pipeline cache.
@@ -70,6 +71,8 @@ VkResult PipelineCache::Initialize(
uniform_descriptor_set_layout,
// All texture bindings.
texture_descriptor_set_layout,
// Vertex bindings.
vertex_descriptor_set_layout,
};
// Push constants used for draw parameters.