Blender V4.3
vk_to_string.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2024 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
9#pragma once
10
11#include "vk_common.hh"
12
13namespace blender::gpu {
14std::string to_string(VkImage vk_handle);
15std::string to_string(VkImageView vk_handle);
16std::string to_string(VkBuffer vk_handle);
17std::string to_string(VkDescriptorSet vk_handle);
18std::string to_string(VkPipeline vk_handle);
19std::string to_string(VkPipelineLayout vk_handle);
20std::string to_string(VkRenderPass vk_handle);
21std::string to_string(VkFramebuffer vk_handle);
22
23const char *to_string(VkAttachmentLoadOp vk_attachment_load_op);
24const char *to_string(VkAttachmentStoreOp vk_attachment_store_op);
25const char *to_string(VkFilter vk_filter);
26const char *to_string(VkImageLayout vk_image_layout);
27const char *to_string(VkIndexType vk_index_type);
28const char *to_string(VkObjectType vk_object_type);
29const char *to_string(VkPipelineBindPoint vk_pipeline_bind_point);
30const char *to_string(VkResolveModeFlagBits vk_resolve_mode_flag_bits);
31const char *to_string(VkSubpassContents vk_subpass_contents);
32std::string to_string_vk_access_flags(VkAccessFlags vk_access_flags);
33std::string to_string_vk_dependency_flags(VkDependencyFlags vk_dependency_flags);
34std::string to_string_vk_image_aspect_flags(VkImageAspectFlags vk_image_aspect_flags);
35std::string to_string_vk_pipeline_stage_flags(VkPipelineStageFlags vk_pipeline_stage_flags);
36std::string to_string_vk_rendering_flags(VkRenderingFlags vk_rendering_flags);
37std::string to_string_vk_shader_stage_flags(VkShaderStageFlags vk_shader_stage_flags);
38std::string to_string(const VkBufferCopy &vk_buffer_copy, int indentation_level = 0);
39std::string to_string(const VkBufferImageCopy &vk_buffer_image_copy, int indentation_level = 0);
40std::string to_string(const VkBufferMemoryBarrier &vk_buffer_memory_barrier,
41 int indentation_level = 0);
42std::string to_string(const VkClearAttachment &vk_clear_attachment, int indentation_level = 0);
43std::string to_string(const VkClearDepthStencilValue &vk_clear_depth_stencil_value,
44 int indentation_level = 0);
45std::string to_string(const VkClearRect &vk_clear_rect, int indentation_level = 0);
46std::string to_string(const VkExtent2D &vk_extent2_d, int indentation_level = 0);
47std::string to_string(const VkExtent3D &vk_extent3_d, int indentation_level = 0);
48std::string to_string(const VkImageBlit &vk_image_blit, int indentation_level = 0);
49std::string to_string(const VkImageCopy &vk_image_copy, int indentation_level = 0);
50std::string to_string(const VkImageMemoryBarrier &vk_image_memory_barrier,
51 int indentation_level = 0);
52std::string to_string(const VkImageSubresourceLayers &vk_image_subresource_layers,
53 int indentation_level = 0);
54std::string to_string(const VkImageSubresourceRange &vk_image_subresource_range,
55 int indentation_level = 0);
56std::string to_string(const VkMemoryBarrier &vk_memory_barrier, int indentation_level = 0);
57std::string to_string(const VkOffset2D &vk_offset2_d, int indentation_level = 0);
58std::string to_string(const VkOffset3D &vk_offset3_d, int indentation_level = 0);
59std::string to_string(const VkRect2D &vk_rect2_d, int indentation_level = 0);
60std::string to_string(const VkRenderPassBeginInfo &vk_render_pass_begin_info,
61 int indentation_level = 0);
62std::string to_string(const VkRenderingAttachmentInfo &vk_rendering_attachment_info,
63 int indentation_level = 0);
64std::string to_string(const VkRenderingInfo &vk_rendering_info, int indentation_level = 0);
65
66} // namespace blender::gpu
const char * to_string(ShaderStage stage)
Definition mtl_shader.mm:52
std::string to_string_vk_rendering_flags(const VkRenderingFlags vk_rendering_flags)
std::string to_string_vk_dependency_flags(const VkDependencyFlags vk_dependency_flags)
std::string to_string_vk_shader_stage_flags(const VkShaderStageFlags vk_shader_stage_flags)
std::string to_string_vk_image_aspect_flags(const VkImageAspectFlags vk_image_aspect_flags)
std::string to_string_vk_pipeline_stage_flags(const VkPipelineStageFlags vk_pipeline_stage_flags)
std::string to_string_vk_access_flags(const VkAccessFlags vk_access_flags)