Comparing the Vulkan SPIR-V memory model to C++‘s
https://www.khronos.org/blog/comparing-the-vulkan-spir-v-memory-model-to-cs #cpp #cpplang #programming #vulkan
https://www.khronos.org/blog/comparing-the-vulkan-spir-v-memory-model-to-cs #cpp #cpplang #programming #vulkan
Comparing the Vulkan SPIR-V memory model to C++‘s
The Vulkan/SPIR-V memory model was built on the foundation of the C++ memory model, but ended up diverging in a number of places. A lot of how GPU programming models work across modern graphics APIs has evolved through years of development, reflecting the markets that those APIs have targeted. Naturally, the Vulkan/SPIR-V memory model has made several decisions that reflect this. We added several new facets to the model, including scopes, storage