Skip to content
Snippets Groups Projects
Commit f0fdde76 authored by Chris Forbes's avatar Chris Forbes Committed by Chris Forbes
Browse files

layers: Convert fundamental type enum to bit field


Some VkFormats can be consumed as multiple types -- specifically,
depth/stencil is either float or uint, depending on which aspect we
consume.

Convert to bitfield, and require intersection rather than equality.
While we're at it, drop out some weird special-casing for unknown
component types-- this is left over from when shader validation was much
less complete.

Signed-off-by: default avatarChris Forbes <chrisforbes@google.com>
parent 884c02f5
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment