layers:Fix struct padding
Always pad lock struct out to next 64-bytes.
On Windows x64 std::mutex may be 80 bytes and updated padding code
handles case where sizeof(lock_t) is > 64.
diff --git a/layers/vk_layer_utils.h b/layers/vk_layer_utils.h
index 04031fc..b08d30d 100644
--- a/layers/vk_layer_utils.h
+++ b/layers/vk_layer_utils.h
@@ -306,7 +306,7 @@
struct {
lock_t lock;
// Put each lock on its own cache line to avoid false cache line sharing.
- char padding[64 - sizeof(lock_t)];
+ char padding[(-int(sizeof(lock_t))) & 63];
} locks[BUCKETS];
uint32_t ConcurrentMapHashObject(const Key &object) const {