Go to the source code of this file.
◆ VK_CALL
#define VK_CALL |
( |
|
GPU, |
|
|
|
X |
|
) |
| GR_VK_CALL(GPU->vkInterface(), X) |
◆ make_views()
Definition at line 95 of file GrVkImage.cpp.
99 {
102
105 } else {
107 }
108
111
113 gpu,
info.fImage,
info.fFormat, viewType, 1,
info.fYcbcrConversionInfo);
114 if (!*framebufferView) {
115 return false;
116 }
117 }
118
123 viewType,
125 info.fYcbcrConversionInfo);
126 if (!*textureView) {
127 return false;
128 }
129 }
130 return true;
131}
static void info(const char *fmt,...) SK_PRINTF_LIKE(1
static constexpr bool SkToBool(const T &x)
static sk_sp< const GrVkImageView > Make(GrVkGpu *gpu, VkImage image, VkFormat format, Type viewType, uint32_t miplevels, const skgpu::VulkanYcbcrConversionInfo &ycbcrInfo)
◆ vk_format_to_aspect_flags()
Definition at line 367 of file GrVkImage.cpp.
367 {
374 default:
376 }
377}
uint32_t uint32_t * format
@ VK_IMAGE_ASPECT_COLOR_BIT
@ VK_IMAGE_ASPECT_STENCIL_BIT
@ VK_IMAGE_ASPECT_DEPTH_BIT
@ VK_FORMAT_D24_UNORM_S8_UINT
@ VK_FORMAT_D32_SFLOAT_S8_UINT
◆ write_input_desc_set()
static void write_input_desc_set |
( |
GrVkGpu * |
gpu, |
|
|
VkImageView |
view, |
|
|
VkImageLayout |
layout, |
|
|
VkDescriptorSet |
descSet |
|
) |
| |
|
static |
Definition at line 644 of file GrVkImage.cpp.
647 {
653
657 writeInfo.
pNext =
nullptr;
658 writeInfo.
dstSet = descSet;
666
668}
#define GR_VK_CALL(IFACE, X)
const skgpu::VulkanInterface * vkInterface() const
VkImageLayout imageLayout
const VkBufferView * pTexelBufferView
const VkDescriptorImageInfo * pImageInfo
const VkDescriptorBufferInfo * pBufferInfo
VkDescriptorType descriptorType
@ VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT
@ VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET