You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current avk::image_usage is somewhat inflexible and suboptimal design. Furthermore, it contains several flags which are no longer required due to image layout transitions now being explicitly handled by users (therefore, image_usage::read_only, image_usage::presentable, and image_usage::shared_presentable can be removed).
Better: Refactor the existing enum struct image_usage into the following format:
and let such a struct be created by users in a convenient manner in the style of avk::stage or avk::access, using operator| or operator+ to let the user conveniently put together such a configuration.
Furthermore (and this is probably the big part of work for this issue): Refactor all the places where enum struct image_usage is used currently accordingly!
Hint: See extern std::tuple<vk::ImageUsageFlags, vk::ImageTiling, vk::ImageCreateFlagBits> to_vk_image_properties(avk::image_usage aImageUsage) for further details!
The text was updated successfully, but these errors were encountered:
The current
avk::image_usage
is somewhat inflexible and suboptimal design. Furthermore, it contains several flags which are no longer required due to image layout transitions now being explicitly handled by users (therefore,image_usage::read_only
,image_usage::presentable
, andimage_usage::shared_presentable
can be removed).Better: Refactor the existing
enum struct image_usage
into the following format:and let such a struct be created by users in a convenient manner in the style of
avk::stage
oravk::access
, usingoperator|
oroperator+
to let the user conveniently put together such a configuration.Furthermore (and this is probably the big part of work for this issue): Refactor all the places where
enum struct image_usage
is used currently accordingly!Hint: See
extern std::tuple<vk::ImageUsageFlags, vk::ImageTiling, vk::ImageCreateFlagBits> to_vk_image_properties(avk::image_usage aImageUsage)
for further details!The text was updated successfully, but these errors were encountered: