Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove combined/convenience image_usage flags #147

Open
johannesugb opened this issue Mar 23, 2022 · 0 comments
Open

Remove combined/convenience image_usage flags #147

johannesugb opened this issue Mar 23, 2022 · 0 comments
Labels
Vulkan Vulkan-centric task

Comments

@johannesugb
Copy link
Member

...because we're going back to being explicit and more true to raw Vulkan.

Therefore, remove all of the following:

		/** General image usage that can be used for transfer and be sampled, stored in an efficient `tiling_optimal` format. */
		general_image							= transfer_source | transfer_destination | sampled | tiling_optimal,

		/** An image that shall only be used in readonly-mode. */
		read_only_image							= transfer_source | sampled | read_only | tiling_optimal,

		/** An image with the same properties as `general_image` and in addition, can be used for shader storage operations */
		general_storage_image					= general_image | shader_storage, 

		/** An image with the same properties as `general_image` with the `read_only` flag set in addition. */
		general_read_only_image					= general_image | read_only,

		/** A `general_image` intended to be used as a color attachment. */
		general_color_attachment				= general_image | color_attachment,

		/** A color attachment used in read only manner. */
		read_only_color_attachment				= read_only_image | color_attachment,

		/** A `general_image` intended to be used as a depth/stencil attachment. */
		general_depth_stencil_attachment		= general_image | depth_stencil_attachment,

		/** A depth/stencil attachment used in read only manner. */
		read_only_depth_stencil_attachment		= read_only_image | depth_stencil_attachment,

		/** A `general_image` intended to be used as input attachment. */
		general_input_attachment				= general_image | input_attachment,

		/** An input attachment used in read only manner. */
		read_only_input_attachment				= read_only_image | input_attachment,

		/** A `general_image` intended to be used as shading rate image */
		general_shading_rate_image				= general_image | shading_rate_image,

		/** A `general_image` intended to be used as texture and has MIP mapping enabled by default. */
		general_texture							= general_image | mip_mapped,

		/** A `general_texture` intended to be used as cube map. */
		general_cube_map_texture				= general_texture | cube_compatible,
@johannesugb johannesugb added the Vulkan Vulkan-centric task label Mar 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Vulkan Vulkan-centric task
Development

No branches or pull requests

1 participant