vulkan: shader binding mapper works with arrays of resources

This commit is contained in:
Sasha Szpakowski
2024-03-09 13:07:23 -04:00
parent 51d5773b93
commit be377601f7
2 changed files with 19 additions and 17 deletions
+1 -1
View File
@@ -61,7 +61,7 @@ struct Range
return first <= other.first && last >= other.last;
}
bool intersects(const Range &other)
bool intersects(const Range &other) const
{
return !(first > other.last || last < other.first);
}