mesa merge requestshttps://gitlab.freedesktop.org/zmike/mesa/-/merge_requests2021-04-13T17:09:15Zhttps://gitlab.freedesktop.org/zmike/mesa/-/merge_requests/6zink: Utilize VK_USE_64_BIT_PTR_DEFINES for VkDescriptorSetLayout and VkFrame...2021-04-13T17:09:15ZWitold Barylukzink: Utilize VK_USE_64_BIT_PTR_DEFINES for VkDescriptorSetLayout and VkFramebuffer handle storageVulkan 1.2.174 fixed the issue around the type handling, and now it can be addressed
using a simpler standardized and overridable macro.
Now both 32-bit and 64-bit systems can be handled easier.
I added the fallback macro for pre-1.2.1...Vulkan 1.2.174 fixed the issue around the type handling, and now it can be addressed
using a simpler standardized and overridable macro.
Now both 32-bit and 64-bit systems can be handled easier.
I added the fallback macro for pre-1.2.174, but it will be ignored on newer Vulkan,
so if there are any new architectures, or other changes, it will pick them up automatically.
The macro definition and conditions are copied directly from the vulkan_core.h
For details see:
https://github.com/KhronosGroup/Vulkan-Docs/issues/1431
https://github.com/KhronosGroup/Vulkan-Headers/commit/e1d8c4931d8e4b6c4a8e633c163ed3aa82d6ac1c
https://github.com/KhronosGroup/Vulkan-Headers/blob/master/include/vulkan/vulkan_core.h#L28https://gitlab.freedesktop.org/zmike/mesa/-/merge_requests/5Zink descriptor cache end2021-03-02T22:49:54ZMike BlumenkrantzZink descriptor cache endthis is the good stuff.this is the good stuff.https://gitlab.freedesktop.org/zmike/mesa/-/merge_requests/4zink: Initialize zink_sampler->batch_uses on creation.2020-12-24T22:22:16ZWitold Barylukzink: Initialize zink_sampler->batch_uses on creation.Otherwise sampler->batch_uses.usage, might be used uninitialised in
```
==468944== at 0xBD216EB: ptr_add_usage (zink_batch.c:370)
==468944== by 0xBD218CD: zink_batch_reference_sampler (zink_batch.c:411)
==468944== by 0xBCFFBBD:...Otherwise sampler->batch_uses.usage, might be used uninitialised in
```
==468944== at 0xBD216EB: ptr_add_usage (zink_batch.c:370)
==468944== by 0xBD218CD: zink_batch_reference_sampler (zink_batch.c:411)
==468944== by 0xBCFFBBD: update_sampler_descriptors (zink_descriptors.c:1078)
```https://gitlab.freedesktop.org/zmike/mesa/-/merge_requests/3zink: Set cache_hit on all non-error paths in descriptor_set_get2021-02-01T20:22:55ZWitold Barylukzink: Set cache_hit on all non-error paths in descriptor_set_getDetected by studding valgrind traces.Detected by studding valgrind traces.https://gitlab.freedesktop.org/zmike/mesa/-/merge_requests/2zink: Initialize glsl_struct_field fully2021-02-01T16:29:31ZWitold Barylukzink: Initialize glsl_struct_field fullyMakes valgrind happier.Makes valgrind happier.https://gitlab.freedesktop.org/zmike/mesa/-/merge_requests/110.02020-12-15T19:20:09ZMike Blumenkrantz10.0testtest