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
Commits
80a608ae
Verified
Commit
80a608ae
authored
3 years ago
by
Tobias Frisch
Browse files
Options
Downloads
Patches
Plain Diff
Added patch list as topology type
Signed-off-by:
Tobias Frisch
<
tfrisch@uni-koblenz.de
>
parent
4a27ab19
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#28222
failed
3 years ago
Stage: build
Stage: deploy
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
include/vkcv/GraphicsPipelineConfig.hpp
+1
-1
1 addition, 1 deletion
include/vkcv/GraphicsPipelineConfig.hpp
src/vkcv/GraphicsPipelineManager.cpp
+2
-0
2 additions, 0 deletions
src/vkcv/GraphicsPipelineManager.cpp
with
3 additions
and
1 deletion
include/vkcv/GraphicsPipelineConfig.hpp
+
1
−
1
View file @
80a608ae
...
...
@@ -14,7 +14,7 @@
namespace
vkcv
{
enum
class
PrimitiveTopology
{
PointList
,
LineList
,
TriangleList
};
enum
class
PrimitiveTopology
{
PointList
,
LineList
,
TriangleList
,
PatchList
};
enum
class
CullMode
{
None
,
Front
,
Back
};
enum
class
DepthTest
{
None
,
Less
,
LessEqual
,
Greater
,
GreatherEqual
,
Equal
};
...
...
This diff is collapsed.
Click to expand it.
src/vkcv/GraphicsPipelineManager.cpp
+
2
−
0
View file @
80a608ae
...
...
@@ -51,6 +51,8 @@ namespace vkcv
return
vk
::
PrimitiveTopology
::
eLineList
;
case
(
PrimitiveTopology
::
TriangleList
):
return
vk
::
PrimitiveTopology
::
eTriangleList
;
case
(
PrimitiveTopology
::
PatchList
):
return
vk
::
PrimitiveTopology
::
ePatchList
;
default:
vkcv_log
(
LogLevel
::
ERROR
,
"Unknown primitive topology type"
);
return
vk
::
PrimitiveTopology
::
eTriangleList
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment