23#include <unordered_set>
28 int groupIndex =
static_cast<int>(
frequency );
36 std::unordered_set<uint32_t> seen;
39 for(
const auto& entry :
entries )
41 if( !seen.insert( entry.binding ).second )
61 if( !other || other->
type != entry.type || other->
stages != entry.stages )
constexpr int RHI_MAX_BIND_GROUPS
Most bind groups one pipeline can use.
const RHI_BINDING_ENTRY * Find(uint32_t aBinding) const
bool IsCompatible(const RHI_BIND_GROUP_LAYOUT_DESC &aOther) const
std::vector< RHI_BINDING_ENTRY > entries
RHI_BIND_FREQUENCY frequency