3 ms·
> Unfortunately, Shader programs are currently restricted to the Logical model, which disallows all of this. That is not entirely true, you can use phyiscal po
by danybittel 1y ago
> Unfortunately, Shader programs are currently restricted to the Logical model, which disallows all of this.
That is not entirely true, you can use phyiscal pointers with the "Buffer device address" feature. (https://docs.vulkan.org/samples/latest/samples/extensions/buffer_device_address/README.html https://docs.vulkan.org/samples/latest/samples/extensions/bu...) It was an extension, but now part of Vulkan. It is widely available on most GPUS.
This only works in buffers though. Not for images or local arrays.
- pjmlp 1y agoNot on mobile Android powered ones.
- danybittel 1y agoIt should be, it is part of 1.2. (https://vulkan.gpuinfo.org/listfeaturescore12.php https://vulkan.gpuinfo.org/listfeaturescore12.php the first entry bufferDeviceAddress, supported by 97.89%) Or did you mean some specific feature? I haven't used it on mobile.
- pjmlp 1y agoSupported as it actually works, or gets listed as something the driver knows about, but full of issues when it gets used? There is a reason why there are some Vulkanised 2025 about improving the state of Vulkan affairs on Android.