Skip to content

Commit bdd83eb

Browse files
committed
Add format_type for combined depth/stencil
1 parent 20ce1a9 commit bdd83eb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/formats.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,8 @@ format_type(::Val{x}) where {x} = error("No type is known which corresponds to f
103103
Vk.format_type(::Val{Vk.FORMAT_D32_SFLOAT}) = Float32
104104
Vk.format_type(::Val{Vk.FORMAT_D16_UNORM}) = UInt16
105105
Vk.format_type(::Val{Vk.FORMAT_S8_UINT}) = UInt8
106+
Vk.format_type(::Val{Vk.FORMAT_D32_SFLOAT_S8_UINT}) = Tuple{Float32,UInt8}
107+
Vk.format_type(::Val{Vk.FORMAT_D16_UNORM_S8_UINT}) = Tuple{UInt16, UInt8}
106108

107109
# generated by `ext/generate_formats.jl`.
108110

0 commit comments

Comments
 (0)