Nonfunctional: minor: use std::array for per-set shifts, fix warning.
Two unrelated, minor tweaks: (1) Use std::array for shiftBindingForSet. Now matches shiftBinding. (2) Add parens in shouldFlatten() to make compiler warning happy.
This commit is contained in:
parent
573cc9e9aa
commit
2915da303f
2 changed files with 3 additions and 4 deletions
|
|
@ -677,8 +677,7 @@ protected:
|
|||
std::array<unsigned int, EResCount> shiftBinding;
|
||||
|
||||
// Per-descriptor-set shift values
|
||||
typedef std::map<int, int> TDescriptorSetShift;
|
||||
TDescriptorSetShift shiftBindingForSet[EResCount];
|
||||
std::array<std::map<int, int>, EResCount> shiftBindingForSet;
|
||||
|
||||
std::vector<std::string> resourceSetBinding;
|
||||
bool autoMapBindings;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue