Skip to content

radv: Allow fast clears with concurrent queue mask for some layouts.

For VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL and VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL we do not care about the queue mask because

  1. using these is only allowed on the gfx queue
  2. transitions for these are only allowed on the gfx queue.

This enables some fast clears for Doom that uses VK_SHARING_MODE_CONCURRENT.

Merge request reports