diff --git a/src/nouveau/vulkan/nvk_buffer.c b/src/nouveau/vulkan/nvk_buffer.c index 24c8307fea9..d03bb58e8ad 100644 --- a/src/nouveau/vulkan/nvk_buffer.c +++ b/src/nouveau/vulkan/nvk_buffer.c @@ -179,7 +179,7 @@ nvk_GetDeviceBufferMemoryRequirements( break; } default: - nvk_debug_ignored_stype(ext->sType); + vk_debug_ignored_stype(ext->sType); break; } } diff --git a/src/nouveau/vulkan/nvk_cmd_copy.c b/src/nouveau/vulkan/nvk_cmd_copy.c index 463390ab67f..de9530cd24d 100644 --- a/src/nouveau/vulkan/nvk_cmd_copy.c +++ b/src/nouveau/vulkan/nvk_cmd_copy.c @@ -471,7 +471,7 @@ nvk_CmdCopyBufferToImage2(VkCommandBuffer commandBuffer, vk_foreach_struct_const(ext, region->pNext) { switch (ext->sType) { default: - nvk_debug_ignored_stype(ext->sType); + vk_debug_ignored_stype(ext->sType); break; } } @@ -480,7 +480,7 @@ nvk_CmdCopyBufferToImage2(VkCommandBuffer commandBuffer, vk_foreach_struct_const(ext, pCopyBufferToImageInfo->pNext) { switch (ext->sType) { default: - nvk_debug_ignored_stype(ext->sType); + vk_debug_ignored_stype(ext->sType); break; } } @@ -578,7 +578,7 @@ nvk_CmdCopyImageToBuffer2(VkCommandBuffer commandBuffer, vk_foreach_struct_const(ext, region->pNext) { switch (ext->sType) { default: - nvk_debug_ignored_stype(ext->sType); + vk_debug_ignored_stype(ext->sType); break; } } @@ -587,7 +587,7 @@ nvk_CmdCopyImageToBuffer2(VkCommandBuffer commandBuffer, vk_foreach_struct_const(ext, pCopyImageToBufferInfo->pNext) { switch (ext->sType) { default: - nvk_debug_ignored_stype(ext->sType); + vk_debug_ignored_stype(ext->sType); break; } } diff --git a/src/nouveau/vulkan/nvk_descriptor_set_layout.c b/src/nouveau/vulkan/nvk_descriptor_set_layout.c index d28a21dc6a2..2f331442e62 100644 --- a/src/nouveau/vulkan/nvk_descriptor_set_layout.c +++ b/src/nouveau/vulkan/nvk_descriptor_set_layout.c @@ -412,7 +412,7 @@ nvk_GetDescriptorSetLayoutSupport(VkDevice device, } default: - nvk_debug_ignored_stype(ext->sType); + vk_debug_ignored_stype(ext->sType); break; } } diff --git a/src/nouveau/vulkan/nvk_format.c b/src/nouveau/vulkan/nvk_format.c index 6b7a93719b5..beaeac898d4 100644 --- a/src/nouveau/vulkan/nvk_format.c +++ b/src/nouveau/vulkan/nvk_format.c @@ -183,7 +183,7 @@ nvk_GetPhysicalDeviceFormatProperties2(VkPhysicalDevice physicalDevice, } default: - nvk_debug_ignored_stype(ext->sType); + vk_debug_ignored_stype(ext->sType); break; } } diff --git a/src/nouveau/vulkan/nvk_image.c b/src/nouveau/vulkan/nvk_image.c index 77eb955263f..1fa96dc5959 100644 --- a/src/nouveau/vulkan/nvk_image.c +++ b/src/nouveau/vulkan/nvk_image.c @@ -439,7 +439,7 @@ nvk_GetPhysicalDeviceImageFormatProperties2( break; } default: - nvk_debug_ignored_stype(s->sType); + vk_debug_ignored_stype(s->sType); break; } } @@ -821,7 +821,7 @@ nvk_get_image_memory_requirements(struct nvk_device *dev, break; } default: - nvk_debug_ignored_stype(ext->sType); + vk_debug_ignored_stype(ext->sType); break; } } diff --git a/src/nouveau/vulkan/nvk_physical_device.c b/src/nouveau/vulkan/nvk_physical_device.c index c5c5f50b3bb..ade26161536 100644 --- a/src/nouveau/vulkan/nvk_physical_device.c +++ b/src/nouveau/vulkan/nvk_physical_device.c @@ -1432,7 +1432,7 @@ nvk_GetPhysicalDeviceMemoryProperties2( break; } default: - nvk_debug_ignored_stype(ext->sType); + vk_debug_ignored_stype(ext->sType); break; } } diff --git a/src/nouveau/vulkan/nvk_private.h b/src/nouveau/vulkan/nvk_private.h index d7825121455..3e6b96ba22d 100644 --- a/src/nouveau/vulkan/nvk_private.h +++ b/src/nouveau/vulkan/nvk_private.h @@ -39,22 +39,4 @@ struct nvk_addr_range { uint64_t range; }; -/** - * Warn on ignored extension structs. - * - * The Vulkan spec requires us to ignore unsupported or unknown structs in - * a pNext chain. In debug mode, emitting warnings for ignored structs may - * help us discover structs that we should not have ignored. - * - * - * From the Vulkan 1.0.38 spec: - * - * Any component of the implementation (the loader, any enabled layers, - * and drivers) must skip over, without processing (other than reading the - * sType and pNext members) any chained structures with sType values not - * defined by extensions supported by that component. - */ -#define nvk_debug_ignored_stype(sType) \ - mesa_logd("%s: ignored VkStructureType %u\n", __func__, (sType)) - #endif