Skip to content
Snippets Groups Projects
  • Chris Forbes's avatar
    f0fdde76
    layers: Convert fundamental type enum to bit field · f0fdde76
    Chris Forbes authored
    
    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>
    f0fdde76
    History
    layers: Convert fundamental type enum to bit field
    Chris Forbes authored
    
    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>