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.cpp38 VkImageViewCreateInfo viewInfo = { in Create() local
52 viewInfo.subresourceRange.aspectMask = VK_IMAGE_ASPECT_STENCIL_BIT; in Create()
55 VkResult err = GR_VK_CALL(gpu->vkInterface(), CreateImageView(gpu->device(), &viewInfo, in Create()
/external/skia/src/gpu/vk/
DGrVkImageView.cpp40 VkImageViewCreateInfo viewInfo = { in Make() local
54 viewInfo.subresourceRange.aspectMask = VK_IMAGE_ASPECT_STENCIL_BIT; in Make()
58 GR_VK_CALL_RESULT(gpu, err, CreateImageView(gpu->device(), &viewInfo, nullptr, &imageView)); in Make()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiBufferViewAccessTests.cpp267 const VkBufferViewCreateInfo viewInfo = in BufferViewTestInstance() local
278 m_uniformBufferView = createBufferView(vk, vkDevice, &viewInfo); in BufferViewTestInstance()
/external/deqp/external/vulkancts/modules/vulkan/ycbcr/
DvktYCbCrFormatTests.cpp113 const VkImageViewCreateInfo viewInfo = in createImageView() local
130 return createImageView(vkd, device, &viewInfo); in createImageView()
DvktYCbCrViewTests.cpp102 const VkImageViewCreateInfo viewInfo = in createImageView() local
119 return createImageView(vkd, device, &viewInfo); in createImageView()
DvktYCbCrImageQueryTests.cpp180 const VkImageViewCreateInfo viewInfo = in createImageView() local
197 return createImageView(vkd, device, &viewInfo); in createImageView()
DvktYCbCrFilteringTests.cpp241 const VkImageViewCreateInfo viewInfo = in createImageView() local
258 return ::createImageView(m_vkd, m_device, &viewInfo); in createImageView()
DvktYCbCrConversionTests.cpp422 const vk::VkImageViewCreateInfo viewInfo = in createImageView() local
439 return vk::createImageView(vkd, device, &viewInfo); in createImageView()
/external/angle/src/libANGLE/renderer/vulkan/
Dvk_helpers.cpp4451 VkImageViewCreateInfo viewInfo = {}; in initLayerImageViewImpl() local
4452 viewInfo.sType = VK_STRUCTURE_TYPE_IMAGE_VIEW_CREATE_INFO; in initLayerImageViewImpl()
4453 viewInfo.flags = 0; in initLayerImageViewImpl()
4454 viewInfo.image = mImage.getHandle(); in initLayerImageViewImpl()
4455 viewInfo.viewType = gl_vk::GetImageViewType(textureType); in initLayerImageViewImpl()
4456 viewInfo.format = imageFormat; in initLayerImageViewImpl()
4460 viewInfo.components.r = gl_vk::GetSwizzle(swizzleMap.swizzleRed); in initLayerImageViewImpl()
4461 viewInfo.components.g = gl_vk::GetSwizzle(swizzleMap.swizzleGreen); in initLayerImageViewImpl()
4462 viewInfo.components.b = gl_vk::GetSwizzle(swizzleMap.swizzleBlue); in initLayerImageViewImpl()
4463 viewInfo.components.a = gl_vk::GetSwizzle(swizzleMap.swizzleAlpha); in initLayerImageViewImpl()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemYCbCrConversionTests.cpp268 const vk::VkImageViewCreateInfo viewInfo = in createImageView() local
285 return vk::createImageView(vkd, device, &viewInfo); in createImageView()