mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-04-13 05:43:18 -07:00
vkd3d: Implement vkd3d_shader_cache_put.
This commit is contained in:
committed by
Alexandre Julliard
parent
af33caf036
commit
aad76f4ed2
Notes:
Alexandre Julliard
2024-04-25 00:16:00 +02:00
Approved-by: Henri Verbeet (@hverbeet) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/791
@@ -340,6 +340,11 @@ static inline int vkd3d_u32_compare(uint32_t x, uint32_t y)
|
||||
return (x > y) - (x < y);
|
||||
}
|
||||
|
||||
static inline int vkd3d_u64_compare(uint64_t x, uint64_t y)
|
||||
{
|
||||
return (x > y) - (x < y);
|
||||
}
|
||||
|
||||
#define VKD3D_BITMAP_SIZE(x) (((x) + 0x1f) >> 5)
|
||||
|
||||
static inline bool bitmap_clear(uint32_t *map, unsigned int idx)
|
||||
|
Reference in New Issue
Block a user