Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
VkCV Framework
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Vulkan2021
VkCV Framework
Merge requests
!61
Resolve "Refactor(?) VertexLayout"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve "Refactor(?) VertexLayout"
75-refactor-vertexlayout
into
develop
Overview
0
Commits
6
Pipelines
6
Changes
11
Merged
Ghost User
requested to merge
75-refactor-vertexlayout
into
develop
3 years ago
Overview
0
Commits
6
Pipelines
6
Changes
11
Expand
Closes
#75 (closed)
Edited
3 years ago
by
Ghost User
0
0
Merge request reports
Compare
develop
version 4
92d23240
3 years ago
version 3
48077c15
3 years ago
version 2
bf7c6167
3 years ago
version 1
8c449e52
3 years ago
develop (base)
and
latest version
latest version
07385480
6 commits,
3 years ago
version 4
92d23240
4 commits,
3 years ago
version 3
48077c15
3 commits,
3 years ago
version 2
bf7c6167
2 commits,
3 years ago
version 1
8c449e52
1 commit,
3 years ago
11 files
+
237
−
184
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
11
Search (e.g. *.vue) (Ctrl+P)
include/vkcv/PipelineConfig.hpp
+
12
−
11
Options
@@ -7,9 +7,9 @@
#include
<vector>
#include
<cstdint>
#include
"
vkcv/
Handles.hpp"
#include
"Handles.hpp"
#include
"ShaderProgram.hpp"
#include
<vkcv/
VertexLayout.hpp
>
#include
"
VertexLayout.hpp
"
namespace
vkcv
{
@@ -21,24 +21,25 @@ namespace vkcv {
* @param shaderProgram shaders of the pipeline
* @param height height of the application window
* @param width width of the application window
* @param passHandle handle for Render Pass
* @param passHandle handle for render pass
* @param vertexLayout layout of vertex buffer, comprised of its bindings and the bindings' attachments
*/
PipelineConfig
(
const
ShaderProgram
&
shaderProgram
,
uint32_t
width
,
uint32_t
height
,
const
PassHandle
&
passHandle
,
const
std
::
vector
<
VertexAttribute
>
&
vertex
Attrib
ut
e
s
,
const
VertexLayout
&
vertex
Layo
uts
,
const
std
::
vector
<
vk
::
DescriptorSetLayout
>
&
descriptorLayouts
,
bool
useDynamicViewport
);
ShaderProgram
m_ShaderProgram
;
uint32_t
m_Height
;
uint32_t
m_Width
;
PassHandle
m_PassHandle
;
std
::
vector
<
VertexAttribute
>
m_Vertex
Attributes
;
std
::
vector
<
vk
::
DescriptorSetLayout
>
m_DescriptorLayouts
;
bool
m_UseDynamicViewport
;
ShaderProgram
m_ShaderProgram
;
uint32_t
m_Height
;
uint32_t
m_Width
;
PassHandle
m_PassHandle
;
VertexLayout
m_Vertex
Layout
;
std
::
vector
<
vk
::
DescriptorSetLayout
>
m_DescriptorLayouts
;
bool
m_UseDynamicViewport
;
};
Loading