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
!83
Resolve "Refactor Pipeline Config and Manager"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve "Refactor Pipeline Config and Manager"
71-refactor-pipeline-config-and-manager
into
develop
Overview
10
Commits
45
Pipelines
42
Changes
1
Merged
Mark Oliver Mints
requested to merge
71-refactor-pipeline-config-and-manager
into
develop
3 years ago
Overview
1
Commits
45
Pipelines
42
Changes
1
Expand
Closes
#71 (closed)
Edited
3 years ago
by
Tobias Frisch
0
0
Merge request reports
Viewing commit
ab86981e
Prev
Next
Show latest version
1 file
+
9
−
4
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
ab86981e
[
#71
] Refactor: update privitive topology converter
· ab86981e
Mark Oliver Mints
authored
3 years ago
src/vkcv/PipelineManager.cpp
+
9
−
4
Options
@@ -44,10 +44,15 @@ namespace vkcv
vk
::
PrimitiveTopology
primitiveTopologyToVulkanPrimitiveTopology
(
const
PrimitiveTopology
topology
)
{
switch
(
topology
)
{
case
(
PrimitiveTopology
::
PointList
):
return
vk
::
PrimitiveTopology
::
ePointList
;
case
(
PrimitiveTopology
::
LineList
):
return
vk
::
PrimitiveTopology
::
eLineList
;
case
(
PrimitiveTopology
::
TriangleList
):
return
vk
::
PrimitiveTopology
::
eTriangleList
;
default:
std
::
cout
<<
"Error: Unknown primitive topology type"
<<
std
::
endl
;
return
vk
::
PrimitiveTopology
::
eTriangleList
;
case
(
PrimitiveTopology
::
PointList
):
return
vk
::
PrimitiveTopology
::
ePointList
;
case
(
PrimitiveTopology
::
LineList
):
return
vk
::
PrimitiveTopology
::
eLineList
;
case
(
PrimitiveTopology
::
TriangleList
):
return
vk
::
PrimitiveTopology
::
eTriangleList
;
default:
vkcv_log
(
LogLevel
::
ERROR
,
"Unknown primitive topology type"
);
return
vk
::
PrimitiveTopology
::
eTriangleList
;
}
}
Loading