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
!58
Resolve "Compute Pipeline"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve "Compute Pipeline"
65-compute-pipeline
into
develop
Overview
4
Commits
13
Pipelines
11
Changes
12
Merged
Mark Oliver Mints
requested to merge
65-compute-pipeline
into
develop
3 years ago
Overview
4
Commits
13
Pipelines
11
Changes
12
Expand
Closes
#65 (closed)
Edited
3 years ago
by
Ghost User
0
0
Merge request reports
Compare
develop
version 9
639c44a0
3 years ago
version 8
f1ba9662
3 years ago
version 7
fca7acf4
3 years ago
version 6
6b163c82
3 years ago
version 5
3c77a6b5
3 years ago
version 4
6a93f420
3 years ago
version 3
52eb4752
3 years ago
version 2
2ebaeebb
3 years ago
version 1
bfe7c164
3 years ago
develop (base)
and
latest version
latest version
820a1981
13 commits,
3 years ago
version 9
639c44a0
12 commits,
3 years ago
version 8
f1ba9662
11 commits,
3 years ago
version 7
fca7acf4
9 commits,
3 years ago
version 6
6b163c82
8 commits,
3 years ago
version 5
3c77a6b5
7 commits,
3 years ago
version 4
6a93f420
6 commits,
3 years ago
version 3
52eb4752
5 commits,
3 years ago
version 2
2ebaeebb
4 commits,
3 years ago
version 1
bfe7c164
3 commits,
3 years ago
12 files
+
202
−
14
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
12
Search (e.g. *.vue) (Ctrl+P)
include/vkcv/Core.hpp
+
21
−
1
Options
@@ -157,6 +157,19 @@ namespace vkcv
[[
nodiscard
]]
PipelineHandle
createGraphicsPipeline
(
const
PipelineConfig
&
config
);
/**
* Creates a basic vulkan compute pipeline using @p shader program and returns it using the @p handle.
* Fixed Functions for pipeline are set with standard values.
*
* @param shader program that hold the compiles compute shader
* @param handle a handle to return the created vulkan handle
* @return True if pipeline creation was successful, False if not
*/
[[
nodiscard
]]
PipelineHandle
createComputePipeline
(
const
ShaderProgram
&
config
,
const
std
::
vector
<
vk
::
DescriptorSetLayout
>
&
descriptorSetLayouts
);
/**
* Creates a basic vulkan render pass using @p config from the render pass config class and returns it using the @p handle.
* Fixed Functions for pipeline are set with standard values.
@@ -211,7 +224,7 @@ namespace vkcv
*/
[[
nodiscard
]]
DescriptorSetHandle
createDescriptorSet
(
const
std
::
vector
<
DescriptorBinding
>
&
bindings
);
void
write
Resource
Descript
ion
(
DescriptorSetHandle
handle
,
size_t
setIndex
,
const
DescriptorWrites
&
writes
);
void
writeDescript
orSet
(
DescriptorSetHandle
handle
,
const
DescriptorWrites
&
writes
);
DescriptorSet
getDescriptorSet
(
const
DescriptorSetHandle
handle
)
const
;
@@ -228,6 +241,13 @@ namespace vkcv
const
std
::
vector
<
DrawcallInfo
>
&
drawcalls
,
const
std
::
vector
<
ImageHandle
>
&
renderTargets
);
void
recordComputeDispatchToCmdStream
(
CommandStreamHandle
cmdStream
,
PipelineHandle
computePipeline
,
const
uint32_t
dispatchCount
[
3
],
const
std
::
vector
<
DescriptorSetUsage
>
&
descriptorSetUsages
,
const
PushConstantData
&
pushConstantData
);
/**
* @brief end recording and present image
*/
Loading