We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
format_type
1 parent 20ce1a9 commit bdd83ebCopy full SHA for bdd83eb
src/formats.jl
@@ -103,6 +103,8 @@ format_type(::Val{x}) where {x} = error("No type is known which corresponds to f
103
Vk.format_type(::Val{Vk.FORMAT_D32_SFLOAT}) = Float32
104
Vk.format_type(::Val{Vk.FORMAT_D16_UNORM}) = UInt16
105
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}
108
109
# generated by `ext/generate_formats.jl`.
110
0 commit comments