1// Copyright 2023 The Khronos Group Inc. 2// 3// SPDX-License-Identifier: CC-BY-4.0 4 5// Common Valid Usage 6// Common to dynamic state commands introduced by VK_EXT_extended_dynamic_state 7 * [[VUID-{refpage}-None-08971]] 8 At least one of the following must: be true: 9ifdef::VK_EXT_extended_dynamic_state[] 10 ** the <<features-extendedDynamicState, pname:extendedDynamicState>> feature is enabled 11endif::VK_EXT_extended_dynamic_state[] 12ifdef::VK_EXT_shader_object[] 13 ** the <<features-shaderObject, pname:shaderObject>> feature is enabled 14endif::VK_EXT_shader_object[] 15ifdef::VK_VERSION_1_3[] 16 ** the value of slink:VkApplicationInfo::pname:apiVersion used to create 17 the slink:VkInstance parent of pname:commandBuffer is greater than or equal to Version 1.3 18endif::VK_VERSION_1_3[] 19 * [[VUID-{refpage}-multisampledRenderToSingleSampled-07284]] 20 If rasterization is not disabled in the bound graphics pipeline, 21ifdef::VK_AMD_mixed_attachment_samples,VK_NV_framebuffer_mixed_samples,VK_EXT_multisampled_render_to_single_sampled[] 22 and none of the following is enabled: 23ifdef::VK_AMD_mixed_attachment_samples[] 24 ** the `apiext:VK_AMD_mixed_attachment_samples` extension 25endif::VK_AMD_mixed_attachment_samples[] 26ifdef::VK_NV_framebuffer_mixed_samples[] 27 ** the `apiext:VK_NV_framebuffer_mixed_samples` extension 28endif::VK_NV_framebuffer_mixed_samples[] 29ifdef::VK_EXT_multisampled_render_to_single_sampled[] 30 ** the <<features-multisampledRenderToSingleSampled, pname:multisampledRenderToSingleSampled>> feature 31endif::VK_EXT_multisampled_render_to_single_sampled[] 32endif::VK_AMD_mixed_attachment_samples,VK_NV_framebuffer_mixed_samples,VK_EXT_multisampled_render_to_single_sampled[] 33 34+ 35then pname:rasterizationSamples for the currently bound graphics pipeline must: be the same as the current subpass color and/or depth/stencil attachments 36 * Some VU that follows 37// Common Valid Usage 38