vk: Implement vkFlushMappedMemoryRanges()
[mesa.git] / src / vulkan / anv_private.h
index 3fc305ba15e354f1903a3fc75016f4bba0b9301c..c21d9d7c8567a24ed5a75d6d188e6302f1b9ea1c 100644 (file)
@@ -391,6 +391,9 @@ struct anv_state_stream {
    uint32_t end;
 };
 
+#define CACHELINE_SIZE 64
+#define CACHELINE_MASK 63
+
 void anv_block_pool_init(struct anv_block_pool *pool,
                          struct anv_device *device, uint32_t block_size);
 void anv_block_pool_finish(struct anv_block_pool *pool);