clvk
clvk copied to clipboard
Tidy up support for `CL_MEM_OBJECT_IMAGE1D_BUFFER`
A few things to address after the initial PR:
- [ ] Rewrite conditions to exclude
CL_LUMINANCEandCL_INTENSITYformats. See https://github.com/kpet/clvk/pull/609#discussion_r1359888301 - [ ] Handle differences between images backed by a Vulkan image or texel buffers in command objects instead of the API layer
- [ ] Require
VK_FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BIT_KHRfor writable texel buffers. Probably depends on https://github.com/kpet/clvk/issues/497 - [ ] Change implementation of
CL_DEVICE_MEM_BASE_ADDR_ALIGNto take into account alignment requirements of texel buffers. See https://github.com/kpet/clvk/pull/609#issuecomment-1775271716 - [ ] Test 1D images created from a sub-buffer in the CTS