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
!5
Resolve "Pipeline State Object"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve "Pipeline State Object"
11-pipeline-state-object
into
develop
Overview
1
Commits
56
Pipelines
4
Changes
5
Merged
Mark Oliver Mints
requested to merge
11-pipeline-state-object
into
develop
3 years ago
Overview
1
Commits
56
Pipelines
4
Changes
5
Expand
Closes
#11 (closed)
Edited
3 years ago
by
Ghost User
0
0
Merge request reports
Viewing commit
4206b372
Prev
Next
Show latest version
5 files
+
41
−
19
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
5
Search (e.g. *.vue) (Ctrl+P)
4206b372
[18]adjust ShaderProgram and Pipeline so the latter can use the former
· 4206b372
Alexander Gauggel
authored
3 years ago
include/vkcv/Pipeline.hpp
+
4
−
5
Options
@@ -10,6 +10,7 @@
#include
<vector>
#include
<cstdint>
#include
"vkcv/Handles.hpp"
#include
"ShaderProgram.hpp"
namespace
vkcv
{
@@ -25,16 +26,14 @@ namespace vkcv {
* Constructor for the pipeline. Creates a pipeline using @p vertexCode, @p fragmentCode as well as the
* dimensions of the application window @p width and @p height. A handle for the Render Pass is also needed, @p passHandle.
*
* @param vertexCode Spir-V of Vertex Shader
* @param fragCode Spir-V of Fragment Shader
* @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
*/
Pipeline
(
const
std
::
vector
<
uint32_t
>
&
vertexCode
,
const
std
::
vector
<
uint32_t
>
&
fragCode
,
uint32_t
height
,
uint32_t
width
,
RenderpassHandle
&
passHandle
);
Pipeline
(
const
ShaderProgram
&
shaderProgram
,
uint32_t
width
,
uint32_t
height
,
RenderpassHandle
&
passHandle
);
std
::
vector
<
uint32_t
>
m_vertexCode
;
std
::
vector
<
uint32_t
>
m_fragCode
;
ShaderProgram
m_shaderProgram
;
uint32_t
m_height
;
uint32_t
m_width
;
RenderpassHandle
m_passHandle
;
Loading