Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Vulkan2021
VkCV Framework
Commits
80a608ae
Verified
Commit
80a608ae
authored
Jan 25, 2022
by
Tobias Frisch
Browse files
Added patch list as topology type
Signed-off-by:
Tobias Frisch
<
tfrisch@uni-koblenz.de
>
parent
4a27ab19
Pipeline
#28222
failed with stages
in 0 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
include/vkcv/GraphicsPipelineConfig.hpp
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
};
...
...
src/vkcv/GraphicsPipelineManager.cpp
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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment