Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
GameDevWeek
Dependencies
Cpp
mirrage
Commits
fda669b5
Commit
fda669b5
authored
Mar 25, 2019
by
Florian Oetke
Browse files
fixed depth buffer requirements
parent
d3a4d416
Changes
1
Show whitespace changes
Inline
Side-by-side
src/mirrage/graphic/src/device.cpp
View file @
fda669b5
...
...
@@ -80,7 +80,9 @@ namespace mirrage::graphic {
vk
::
Format
::
eD32Sfloat
,
vk
::
Format
::
eD16Unorm
,
vk
::
Format
::
eD16UnormS8Uint
},
vk
::
FormatFeatureFlagBits
::
eDepthStencilAttachment
,
vk
::
FormatFeatureFlagBits
::
eDepthStencilAttachment
|
vk
::
FormatFeatureFlagBits
::
eBlitDst
|
vk
::
FormatFeatureFlagBits
::
eBlitSrc
,
Format_usage
::
image_optimal
)
.
get_or_throw
(
"No depth format supported"
" by device"
))
...
...
Florian Oetke
@oetkef
mentioned in commit
ace0c9b9
·
Mar 25, 2019
mentioned in commit
ace0c9b9
mentioned in commit ace0c9b9405d09702fd7e184e72e65a90a241c23
Toggle commit list
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