Files
test2/source/blender/gpu/vulkan
Jason Fielder 9313750f0a Metal: Add fallback path for texture atomics V2
This patch adds an alternative path for devices/OSs
which do not support native texture atomics in Metal.
Support is encapsulated within the backend, ensuring
any allocated texture with the USAGE_ATOMIC flag is
allocated with a backing buffer, upon which atomic
operations happen.

The shader generation is also changed for the atomic
case, which instructs the backend to insert additional
buffer bind-points for the buffer resource. As Metal
also only supports buffer-backed textures for
textureBuffers or 2D textures, TextureArrays and
3D textures are emulated within a 2D texture, with
sample locations being indirected.

All usage of atomic textures MUST now utilise the
correct atomic texture types in the high level shader
and GPUShaderCreateInfo declarations.

Authored by Apple: Michael Parkin-White

Pull Request: https://projects.blender.org/blender/blender/pulls/115956
2023-12-11 23:00:20 +01:00
..
2023-11-20 14:08:19 +01:00
2023-08-21 08:55:55 +02:00
2023-11-14 11:12:19 +01:00
2023-11-14 11:12:19 +01:00
2023-11-24 15:23:46 +01:00
2023-11-20 14:08:19 +01:00
2023-10-14 13:53:00 +11:00
2023-09-19 11:52:59 +02:00
2023-11-24 13:28:09 +01:00
2023-11-14 11:12:19 +01:00
2023-11-14 11:12:19 +01:00
2023-11-14 11:12:19 +01:00
2023-11-14 11:12:19 +01:00
2023-11-14 11:12:19 +01:00
2023-11-27 09:30:52 +11:00