Home
last modified time | relevance | path

Searched refs:usageFlags (Results 1 – 19 of 19) sorted by relevance

/external/skia/src/gpu/vk/
DGrVkTexture.cpp191 VkImageUsageFlags usageFlags = VK_IMAGE_USAGE_SAMPLED_BIT; in reallocForMipmap() local
193 usageFlags |= VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT; in reallocForMipmap()
195 usageFlags |= VK_IMAGE_USAGE_TRANSFER_SRC_BIT | VK_IMAGE_USAGE_TRANSFER_DST_BIT; in reallocForMipmap()
205 imageDesc.fUsageFlags = usageFlags; in reallocForMipmap()
DGrVkGpu.cpp771 VkImageUsageFlags usageFlags = VK_IMAGE_USAGE_SAMPLED_BIT; in onCreateTexture() local
773 usageFlags |= VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT; in onCreateTexture()
782 usageFlags |= VK_IMAGE_USAGE_TRANSFER_SRC_BIT | VK_IMAGE_USAGE_TRANSFER_DST_BIT; in onCreateTexture()
796 imageDesc.fUsageFlags = usageFlags; in onCreateTexture()
1160 VkImageUsageFlags usageFlags = VK_IMAGE_USAGE_SAMPLED_BIT; in createTestingOnlyBackendTexture() local
1161 usageFlags |= VK_IMAGE_USAGE_TRANSFER_SRC_BIT; in createTestingOnlyBackendTexture()
1162 usageFlags |= VK_IMAGE_USAGE_TRANSFER_DST_BIT; in createTestingOnlyBackendTexture()
1164 usageFlags |= VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT; in createTestingOnlyBackendTexture()
1192 usageFlags, // VkImageUsageFlags in createTestingOnlyBackendTexture()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiBufferComputeInstance.cpp50 const VkBufferUsageFlags usageFlags = (VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT); in createDataBuffer() local
57 usageFlags, // usage in createDataBuffer()
97 const VkBufferUsageFlags usageFlags = (VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT); in createColorDataBuffer() local
104 usageFlags, // usage in createColorDataBuffer()
DvktApiFeatureInfo.cpp2071 const VkImageUsageFlags usageFlags, in isRequiredImageParameterCombination() argument
2084 …(usageFlags & ~(VK_IMAGE_USAGE_SAMPLED_BIT|VK_IMAGE_USAGE_TRANSFER_SRC_BIT|VK_IMAGE_USAGE_TRANSFER… in isRequiredImageParameterCombination()
2125 const VkImageUsageFlags usageFlags) in getRequiredOptimalTilingSampleCounts() argument
2137 if ((usageFlags & VK_IMAGE_USAGE_STORAGE_BIT) != 0) in getRequiredOptimalTilingSampleCounts()
2140 if ((usageFlags & VK_IMAGE_USAGE_SAMPLED_BIT) != 0) in getRequiredOptimalTilingSampleCounts()
2160 if ((usageFlags & VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT) != 0) in getRequiredOptimalTilingSampleCounts()
2163 if ((usageFlags & VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT) != 0) in getRequiredOptimalTilingSampleCounts()
DvktApiImageClearingTests.cpp484 void beginCommandBuffer (VkCommandBufferUsageFlags usageFlags) const;
838 void ImageClearingTestInstance::beginCommandBuffer (VkCommandBufferUsageFlags usageFlags) const in beginCommandBuffer()
844 usageFlags, // VkCommandBufferUsageFlags flags; in beginCommandBuffer()
DvktApiCommandBuffersTests.cpp123 void beginPrimaryCommandBuffer (VkCommandBufferUsageFlags usageFlags);
124 void beginSecondaryCommandBuffer (VkCommandBufferUsageFlags usageFlags);
327 …andBufferRenderPassTestEnvironment::beginPrimaryCommandBuffer(VkCommandBufferUsageFlags usageFlags) in beginPrimaryCommandBuffer() argument
333 usageFlags, // VkCommandBufferUsageFlags flags; in beginPrimaryCommandBuffer()
342 …dBufferRenderPassTestEnvironment::beginSecondaryCommandBuffer(VkCommandBufferUsageFlags usageFlags) in beginSecondaryCommandBuffer() argument
360 usageFlags, // VkCommandBufferUsageFlags flags; in beginSecondaryCommandBuffer()
DvktApiExternalMemoryTests.cpp2488 const vk::VkBufferUsageFlags usageFlags[] = in testBufferQueries() local
2515 for (size_t usageFlagNdx = 0; usageFlagNdx < DE_LENGTH_OF_ARRAY(usageFlags); usageFlagNdx++) in testBufferQueries()
2518 const vk::VkBufferUsageFlags usageFlag = usageFlags[usageFlagNdx]; in testBufferQueries()
3286 const vk::VkImageUsageFlags usageFlags[] = in testImageQueries() local
3312 for (size_t usageFlagNdx = 0; usageFlagNdx < DE_LENGTH_OF_ARRAY(usageFlags); usageFlagNdx++) in testImageQueries()
3315 const vk::VkImageUsageFlags usageFlag = usageFlags[usageFlagNdx]; in testImageQueries()
/external/skia/tools/viewer/sk_app/
DVulkanWindowContext.cpp166 VkImageUsageFlags usageFlags = VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | in createSwapchain() local
169 SkASSERT((caps.supportedUsageFlags & usageFlags) == usageFlags); in createSwapchain()
220 swapchainCreateInfo.imageUsage = usageFlags; in createSwapchain()
/external/deqp/external/vulkancts/modules/vulkan/
DvktExternalMemoryUtil.hpp223 vk::VkBufferUsageFlags usageFlags);
234 vk::VkImageUsageFlags usageFlags);
DvktExternalMemoryUtil.cpp985 vk::VkBufferUsageFlags usageFlags) in createExternalBuffer() argument
999 usageFlags, in createExternalBuffer()
1017 vk::VkImageUsageFlags usageFlags) in createExternalImage() argument
1037 usageFlags, in createExternalImage()
DvktShaderLibrary.cpp777 …VkBuffer> createBuffer (Context& context, vk::VkDeviceSize size, vk::VkBufferUsageFlags usageFlags) in createBuffer() argument
786 usageFlags, // usage in createBuffer()
795 …, deUint32 height, vk::VkFormat format, vk::VkImageTiling tiling, vk::VkImageUsageFlags usageFlags) in createImage2D() argument
810 usageFlags, // usage in createImage2D()
/external/deqp/external/vulkancts/modules/vulkan/image/
DvktImageMutableTests.cpp1414 const VkImageUsageFlags usageFlags = VK_IMAGE_USAGE_STORAGE_BIT | VK_IMAGE_USAGE_TRANSFER_SRC_BIT; in downloadTexture() local
1415 …eDef.viewFormat, m_caseDef.viewFormat, false, m_caseDef.size, 1u, m_caseDef.numLayers, usageFlags); in downloadTexture()
1495 const VkImageUsageFlags usageFlags = VK_IMAGE_USAGE_STORAGE_BIT | VK_IMAGE_USAGE_TRANSFER_SRC_BIT; in downloadLoad() local
1496 …eDef.viewFormat, m_caseDef.viewFormat, false, m_caseDef.size, 1u, m_caseDef.numLayers, usageFlags); in downloadLoad()
DvktImageTranscodingSupportTests.cpp267 const VkImageUsageFlags usageFlags,
448 const VkImageUsageFlags usageFlags, in makeCreateImageInfo() argument
468 usageFlags, // VkImageUsageFlags usage; in makeCreateImageInfo()
DvktImageCompressionTranscodingSupport.cpp1309 const VkImageUsageFlags usageFlags,
1766 const VkImageUsageFlags usageFlags, in makeCreateImageInfo() argument
1788 usageFlags, // VkImageUsageFlags usage; in makeCreateImageInfo()
/external/deqp/external/vulkancts/modules/vulkan/ubo/
DvktUniformBlockCase.cpp1408 …Buffer> createBuffer (Context& context, VkDeviceSize bufferSize, vk::VkBufferUsageFlags usageFlags) in createBuffer() argument
1420 usageFlags, // VkBufferUsageFlags usage; in createBuffer()
1429 …, deUint32 height, vk::VkFormat format, vk::VkImageTiling tiling, vk::VkImageUsageFlags usageFlags) in createImage2D() argument
1444 usageFlags, // VkImageUsageFlags usage in createImage2D()
/external/deqp/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassTests.cpp1224 VkImageUsageFlags usageFlags, in createAttachmentImage() argument
1231 || ((usageFlags & vk::VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT) == 0)); in createAttachmentImage()
1234 || ((usageFlags & vk::VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT) == 0)); in createAttachmentImage()
1250 usageFlags | targetUsageFlags, in createAttachmentImage()
1337 VkImageUsageFlags usageFlags, in AttachmentResources() argument
1339 …eIndex, size, attachmentInfo.getFormat(), attachmentInfo.getSamples(), usageFlags, VK_IMAGE_LAYOUT… in AttachmentResources()
1340 …(createImageMemory(vki, physDevice, vk, device, allocator, *m_image, ((usageFlags & VK_IMAGE_USAGE… in AttachmentResources()
1357 if ((usageFlags & VK_IMAGE_USAGE_TRANSIENT_ATTACHMENT_BIT) == 0) in AttachmentResources()
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktOpaqueTypeIndexingTests.cpp86 …fer (const DeviceInterface& vkd, VkDevice device, VkDeviceSize size, VkBufferUsageFlags usageFlags) in createBuffer() argument
94 usageFlags, in createBuffer()
/external/deqp/external/vulkancts/modules/vulkan/ssbo/
DvktSSBOLayoutCase.cpp1891 …er> createBuffer (Context& context, vk::VkDeviceSize bufferSize, vk::VkBufferUsageFlags usageFlags) in createBuffer() argument
1903 usageFlags, // VkBufferUsageFlags usage; in createBuffer()
/external/deqp/external/vulkancts/modules/vulkan/binding_model/
DvktBindingShaderAccessTests.cpp1448 …const vk::VkBufferUsageFlags usageFlags = (isUniformBuffer) ? (vk::VK_BUFFER_USAGE_UNIFORM_BUFFE… in createSourceBuffer() local
1457 usageFlags, // usage in createSourceBuffer()
2295 …const vk::VkBufferUsageFlags usageFlags = (isUniformBuffer) ? (vk::VK_BUFFER_USAGE_UNIFORM_BUFFE… in createColorDataBuffer() local
2302 usageFlags, // usage in createColorDataBuffer()