// Copyright 2023 The Khronos Group Inc.
//
// SPDX-License-Identifier: CC-BY-4.0

// Common Valid Usage
// Common to dynamic state commands introduced by VK_EXT_extended_dynamic_state
  * [[VUID-{refpage}-None-08971]]
    At least one of the following must: be true:
ifdef::VK_EXT_extended_dynamic_state[]
  ** the <<features-extendedDynamicState, pname:extendedDynamicState>>
     feature is enabled
endif::VK_EXT_extended_dynamic_state[]
ifdef::VK_EXT_shader_object[]
  ** the <<features-shaderObject, pname:shaderObject>> feature is enabled
endif::VK_EXT_shader_object[]
ifdef::VK_VERSION_1_3[]
  ** the value of slink:VkApplicationInfo::pname:apiVersion used to create
     the slink:VkInstance parent of pname:commandBuffer is greater than or
     equal to Version 1.3
endif::VK_VERSION_1_3[]
  * [[VUID-{refpage}-multisampledRenderToSingleSampled-07284]]
    If rasterization is not disabled in the bound graphics pipeline,
ifdef::VK_AMD_mixed_attachment_samples,VK_NV_framebuffer_mixed_samples,VK_EXT_multisampled_render_to_single_sampled[]
    and none of the following is enabled:
ifdef::VK_AMD_mixed_attachment_samples[]
  ** the `apiext:VK_AMD_mixed_attachment_samples` extension
endif::VK_AMD_mixed_attachment_samples[]
ifdef::VK_NV_framebuffer_mixed_samples[]
  ** the `apiext:VK_NV_framebuffer_mixed_samples` extension
endif::VK_NV_framebuffer_mixed_samples[]
ifdef::VK_EXT_multisampled_render_to_single_sampled[]
  ** the <<features-multisampledRenderToSingleSampled,
     pname:multisampledRenderToSingleSampled>> feature
endif::VK_EXT_multisampled_render_to_single_sampled[]
endif::VK_AMD_mixed_attachment_samples,VK_NV_framebuffer_mixed_samples,VK_EXT_multisampled_render_to_single_sampled[]

+
then pname:rasterizationSamples for the currently bound graphics pipeline
must: be the same as the current subpass color and/or depth/stencil
attachments
  * Some VU that follows
// Common Valid Usage
