Home
last modified time | relevance | path

Searched refs:viewInfo (Results 1 – 11 of 11) sorted by relevance

/external/skqp/src/gpu/vk/
DGrVkBufferView.cpp17 VkBufferViewCreateInfo viewInfo; in Create() local
18 memset(&viewInfo, 0, sizeof(VkBufferViewCreateInfo)); in Create()
19 viewInfo.sType = VK_STRUCTURE_TYPE_BUFFER_VIEW_CREATE_INFO; in Create()
20 viewInfo.pNext = nullptr; in Create()
21 viewInfo.flags = 0; in Create()
22 viewInfo.buffer = buffer; in Create()
23 viewInfo.format = format; in Create()
24 viewInfo.offset = offset; in Create()
25 viewInfo.range = range; in Create()
27 VkResult err = GR_VK_CALL(gpu->vkInterface(), CreateBufferView(gpu->device(), &viewInfo, in Create()
DGrVkImageView.cpp17 VkImageViewCreateInfo viewInfo = { in Create() local
31 viewInfo.subresourceRange.aspectMask = VK_IMAGE_ASPECT_STENCIL_BIT; in Create()
34 VkResult err = GR_VK_CALL(gpu->vkInterface(), CreateImageView(gpu->device(), &viewInfo, in Create()
/external/skia/src/gpu/vk/
DGrVkBufferView.cpp17 VkBufferViewCreateInfo viewInfo; in Create() local
18 memset(&viewInfo, 0, sizeof(VkBufferViewCreateInfo)); in Create()
19 viewInfo.sType = VK_STRUCTURE_TYPE_BUFFER_VIEW_CREATE_INFO; in Create()
20 viewInfo.pNext = nullptr; in Create()
21 viewInfo.flags = 0; in Create()
22 viewInfo.buffer = buffer; in Create()
23 viewInfo.format = format; in Create()
24 viewInfo.offset = offset; in Create()
25 viewInfo.range = range; in Create()
27 VkResult err = GR_VK_CALL(gpu->vkInterface(), CreateBufferView(gpu->device(), &viewInfo, in Create()
DGrVkImageView.cpp17 VkImageViewCreateInfo viewInfo = { in Create() local
31 viewInfo.subresourceRange.aspectMask = VK_IMAGE_ASPECT_STENCIL_BIT; in Create()
34 VkResult err = GR_VK_CALL(gpu->vkInterface(), CreateImageView(gpu->device(), &viewInfo, in Create()
/external/deqp/external/vulkancts/modules/vulkan/ycbcr/
DvktYCbCrFormatTests.cpp115 const VkImageViewCreateInfo viewInfo = in createImageView() local
132 return createImageView(vkd, device, &viewInfo); in createImageView()
DvktYCbCrViewTests.cpp172 const VkImageViewCreateInfo viewInfo = in createImageView() local
189 return createImageView(vkd, device, &viewInfo); in createImageView()
DvktYCbCrImageQueryTests.cpp181 const VkImageViewCreateInfo viewInfo = in createImageView() local
198 return createImageView(vkd, device, &viewInfo); in createImageView()
DvktYCbCrConversionTests.cpp364 const vk::VkImageViewCreateInfo viewInfo = in createImageView() local
386 return vk::createImageView(vkd, device, &viewInfo); in createImageView()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiBufferViewAccessTests.cpp315 const VkBufferViewCreateInfo viewInfo = in BufferViewTestInstance() local
326 m_uniformBufferView = createBufferView(vk, vkDevice, &viewInfo); in BufferViewTestInstance()
/external/deqp/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemYCbCrConversionTests.cpp262 const vk::VkImageViewCreateInfo viewInfo = in createImageView() local
279 return vk::createImageView(vkd, device, &viewInfo); in createImageView()
/external/vulkan-validation-layers/demos/
Dcube.cpp2154 auto const viewInfo = vk::ImageViewCreateInfo() in prepare_textures() local
2160 result = device.createImageView(&viewInfo, nullptr, &textures[i].view); in prepare_textures()