summaryrefslogtreecommitdiff
path: root/src/vk/graphics_pipeline_2d_wired_layout.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/vk/graphics_pipeline_2d_wired_layout.cpp')
-rw-r--r--src/vk/graphics_pipeline_2d_wired_layout.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/vk/graphics_pipeline_2d_wired_layout.cpp b/src/vk/graphics_pipeline_2d_wired_layout.cpp
index 8e06641..3f259e3 100644
--- a/src/vk/graphics_pipeline_2d_wired_layout.cpp
+++ b/src/vk/graphics_pipeline_2d_wired_layout.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright 2022 Frederico de Oliveira Linhares
+ * Copyright 2022-2023 Frederico de Oliveira Linhares
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -74,11 +74,11 @@ load_pipeline(void *obj)
std::array<VkPushConstantRange, 2> push_constants;
push_constants[0].stageFlags = VK_SHADER_STAGE_VERTEX_BIT;
push_constants[0].offset = 0;
- push_constants[0].size = sizeof(VK::ODOVector4D);
+ push_constants[0].size = sizeof(VK::UDOVector4D);
push_constants[1].stageFlags = VK_SHADER_STAGE_FRAGMENT_BIT;
- push_constants[1].offset = sizeof(VK::ODOVector4D);
- push_constants[1].size = sizeof(VK::ODOVector3D);
+ push_constants[1].offset = sizeof(VK::UDOVector4D);
+ push_constants[1].size = sizeof(VK::UDOVector3D);
VkPipelineLayoutCreateInfo pipeline_layout_info{};
pipeline_layout_info.sType = VK_STRUCTURE_TYPE_PIPELINE_LAYOUT_CREATE_INFO;