clang-format some more

LLVM shouldn't make me download everything they've ever made in the same
package as clang-format.
update_gitlab_rules
AnyOldName3 2 years ago
parent 83b940397e
commit 8ea2e15446

@ -118,8 +118,12 @@ namespace Shader
int mMaxTextureUnits = 0; int mMaxTextureUnits = 0;
int mReservedTextureUnits = 0; int mReservedTextureUnits = 0;
std::unique_ptr<HotReloadManager> mHotReloadManager; std::unique_ptr<HotReloadManager> mHotReloadManager;
struct ReservedTextureUnits { int index = -1; int count = 0; }; struct ReservedTextureUnits
std::array<ReservedTextureUnits, static_cast<int>(Slot::SLOT_COUNT) > mReservedTextureUnitsBySlot = {}; {
int index = -1;
int count = 0;
};
std::array<ReservedTextureUnits, static_cast<int>(Slot::SLOT_COUNT)> mReservedTextureUnitsBySlot = {};
}; };
bool parseForeachDirective(std::string& source, const std::string& templateName, size_t foundPos); bool parseForeachDirective(std::string& source, const std::string& templateName, size_t foundPos);

Loading…
Cancel
Save