[gtk+/wip/otte/rendernode: 96/100] xxx: pipeline split
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/otte/rendernode: 96/100] xxx: pipeline split
- Date: Sun, 18 Dec 2016 06:36:45 +0000 (UTC)
commit 3ce856ceafea717897986445d4d9576261dff3d3
Author: Benjamin Otte <otte redhat com>
Date: Sun Dec 18 05:53:44 2016 +0100
xxx: pipeline split
gsk/gskvulkanrenderpass.c | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/gsk/gskvulkanrenderpass.c b/gsk/gskvulkanrenderpass.c
index 01a2b2e..337b6ad 100644
--- a/gsk/gskvulkanrenderpass.c
+++ b/gsk/gskvulkanrenderpass.c
@@ -407,6 +407,14 @@ gsk_vulkan_render_pass_draw (GskVulkanRenderPass *self,
vkCmdBindPipeline (command_buffer,
VK_PIPELINE_BIND_POINT_GRAPHICS,
gsk_vulkan_pipeline_get_pipeline (current_pipeline));
+ vkCmdBindVertexBuffers (command_buffer,
+ 0,
+ 1,
+ (VkBuffer[1]) {
+ gsk_vulkan_buffer_get_buffer (vertex_buffer)
+ },
+ (VkDeviceSize[1]) { op->render.vertex_offset });
+ current_draw_index = 0;
}
vkCmdBindDescriptorSets (command_buffer,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]