Try / Tempest

3d graphics engine
MIT License
83 stars 24 forks source link

Binding of zero-sized SSBO #57

Closed Try closed 4 months ago

Try commented 4 months ago

In complex workloads it getting annoying to sanitize zero-sized buffers (and avodi draw/dispatches) Meanwhile on shader side (in term of algorithms) in most cases it perfectly fine to have .length()==0

Try commented 4 months ago

Done.

Metal: length is emulates - so it just works DX12: null descriptor is allowed, so just works Vulkan: VK_EXT_robustness2 require for null-descriptor to work; and hack-in with zero-length buffer binding,i fextension is not supported