Home
last modified time | relevance | path

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

12

/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()
DvktApiCommandBuffersTests.cpp126 void beginPrimaryCommandBuffer (VkCommandBufferUsageFlags usageFlags);
127 void beginSecondaryCommandBuffer (VkCommandBufferUsageFlags usageFlags);
259 …andBufferRenderPassTestEnvironment::beginPrimaryCommandBuffer(VkCommandBufferUsageFlags usageFlags) in beginPrimaryCommandBuffer() argument
261 beginCommandBuffer(m_vkd, m_primaryCommandBuffers[0], usageFlags); in beginPrimaryCommandBuffer()
264 …dBufferRenderPassTestEnvironment::beginSecondaryCommandBuffer(VkCommandBufferUsageFlags usageFlags) in beginSecondaryCommandBuffer() argument
282 usageFlags, // VkCommandBufferUsageFlags flags; in beginSecondaryCommandBuffer()
DvktApiImageClearingTests.cpp488 void beginCommandBuffer (VkCommandBufferUsageFlags usageFlags) const;
845 void ImageClearingTestInstance::beginCommandBuffer (VkCommandBufferUsageFlags usageFlags) const in beginCommandBuffer()
847 vk::beginCommandBuffer(m_vkd, *m_commandBuffer, usageFlags); in beginCommandBuffer()
DvktApiFeatureInfo.cpp2426 const VkImageUsageFlags usageFlags, in isRequiredImageParameterCombination() argument
2439 …(usageFlags & ~(VK_IMAGE_USAGE_SAMPLED_BIT|VK_IMAGE_USAGE_TRANSFER_SRC_BIT|VK_IMAGE_USAGE_TRANSFER… in isRequiredImageParameterCombination()
2483 const VkImageUsageFlags usageFlags) in getRequiredOptimalTilingSampleCounts() argument
2503 if ((usageFlags & VK_IMAGE_USAGE_STORAGE_BIT) != 0) in getRequiredOptimalTilingSampleCounts()
2506 if ((usageFlags & VK_IMAGE_USAGE_SAMPLED_BIT) != 0) in getRequiredOptimalTilingSampleCounts()
2532 if ((usageFlags & VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT) != 0) in getRequiredOptimalTilingSampleCounts()
2535 if ((usageFlags & VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT) != 0) in getRequiredOptimalTilingSampleCounts()
DvktApiExternalMemoryTests.cpp2668 const vk::VkBufferUsageFlags usageFlags[] = in testBufferQueries() local
2695 for (size_t usageFlagNdx = 0; usageFlagNdx < DE_LENGTH_OF_ARRAY(usageFlags); usageFlagNdx++) in testBufferQueries()
2698 const vk::VkBufferUsageFlags usageFlag = usageFlags[usageFlagNdx]; in testBufferQueries()
3492 const vk::VkImageUsageFlags usageFlags[] = in testImageQueries() local
3518 for (size_t usageFlagNdx = 0; usageFlagNdx < DE_LENGTH_OF_ARRAY(usageFlags); usageFlagNdx++) in testImageQueries()
3521 const vk::VkImageUsageFlags usageFlag = usageFlags[usageFlagNdx]; in testImageQueries()
3911 const vk::VkImageUsageFlagBits usageFlags[] = in testAndroidHardwareBufferImageFormat() local
3932 const size_t numOfUsageFlags = DE_LENGTH_OF_ARRAY(usageFlags); in testAndroidHardwareBufferImageFormat()
3947 usage |= usageFlags[usageNdx]; in testAndroidHardwareBufferImageFormat()
3948 requiredAhbUsage |= ahbApi->vkUsageToAhbUsage(usageFlags[usageNdx]); in testAndroidHardwareBufferImageFormat()
/external/skia/src/gpu/
DGrAHardwareBufferUtils.cpp340 VkImageUsageFlags usageFlags = VK_IMAGE_USAGE_SAMPLED_BIT; in make_vk_backend_texture() local
342 usageFlags = usageFlags | in make_vk_backend_texture()
346 usageFlags = usageFlags | VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT; in make_vk_backend_texture()
365 usageFlags, // VkImageUsageFlags in make_vk_backend_texture()
/external/skia/tools/sk_app/
DVulkanWindowContext.cpp217 VkImageUsageFlags usageFlags = VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | in createSwapchain() local
220 SkASSERT((caps.supportedUsageFlags & usageFlags) == usageFlags); in createSwapchain()
282 swapchainCreateInfo.imageUsage = usageFlags; in createSwapchain()
/external/skqp/src/gpu/vk/
DGrVkGpu.cpp695 VkImageUsageFlags usageFlags = VK_IMAGE_USAGE_SAMPLED_BIT | in uploadTexDataOptimal() local
707 imageDesc.fUsageFlags = usageFlags; in uploadTexDataOptimal()
921 VkImageUsageFlags usageFlags = VK_IMAGE_USAGE_SAMPLED_BIT; in onCreateTexture() local
923 usageFlags |= VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT; in onCreateTexture()
932 usageFlags |= VK_IMAGE_USAGE_TRANSFER_SRC_BIT | VK_IMAGE_USAGE_TRANSFER_DST_BIT; in onCreateTexture()
946 imageDesc.fUsageFlags = usageFlags; in onCreateTexture()
1353 VkImageUsageFlags usageFlags = 0; in createTestingOnlyVkImage() local
1354 usageFlags |= VK_IMAGE_USAGE_TRANSFER_SRC_BIT; in createTestingOnlyVkImage()
1355 usageFlags |= VK_IMAGE_USAGE_TRANSFER_DST_BIT; in createTestingOnlyVkImage()
1357 usageFlags |= VK_IMAGE_USAGE_SAMPLED_BIT; in createTestingOnlyVkImage()
[all …]
/external/skia/src/gpu/vk/
DGrVkGpu.cpp697 VkImageUsageFlags usageFlags = VK_IMAGE_USAGE_SAMPLED_BIT | in uploadTexDataOptimal() local
709 imageDesc.fUsageFlags = usageFlags; in uploadTexDataOptimal()
923 VkImageUsageFlags usageFlags = VK_IMAGE_USAGE_SAMPLED_BIT; in onCreateTexture() local
925 usageFlags |= VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT; in onCreateTexture()
934 usageFlags |= VK_IMAGE_USAGE_TRANSFER_SRC_BIT | VK_IMAGE_USAGE_TRANSFER_DST_BIT; in onCreateTexture()
948 imageDesc.fUsageFlags = usageFlags; in onCreateTexture()
1365 VkImageUsageFlags usageFlags = 0; in createTestingOnlyVkImage() local
1366 usageFlags |= VK_IMAGE_USAGE_TRANSFER_SRC_BIT; in createTestingOnlyVkImage()
1367 usageFlags |= VK_IMAGE_USAGE_TRANSFER_DST_BIT; in createTestingOnlyVkImage()
1369 usageFlags |= VK_IMAGE_USAGE_SAMPLED_BIT; in createTestingOnlyVkImage()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelinePushDescriptorTests.cpp393 …const VkBufferUsageFlags usageFlags = m_params.descriptorType == VK_DESCRIPTOR_TYPE_UNIFORM_BUFF… in init() local
401 usageFlags, // VkBufferUsageFlags usage; in init()
793 …const VkBufferUsageFlags usageFlags = m_params.descriptorType == VK_DESCRIPTOR_TYPE_UNIFORM_BUFF… in init() local
801 usageFlags, // VkBufferUsageFlags usage; in init()
1132 VkImageUsageFlags usageFlags = VK_IMAGE_USAGE_TRANSFER_DST_BIT; in init() local
1134 usageFlags |= VK_IMAGE_USAGE_SAMPLED_BIT; in init()
1136 usageFlags |= VK_IMAGE_USAGE_STORAGE_BIT; in init()
1150 usageFlags, // VkImageUsageFlags usage; in init()
1929 VkImageUsageFlags usageFlags = VK_IMAGE_USAGE_TRANSFER_DST_BIT; in init() local
1931 usageFlags |= VK_IMAGE_USAGE_SAMPLED_BIT; in init()
[all …]
DvktPipelineDynamicOffsetTests.cpp359 …const VkBufferUsageFlags usageFlags = m_params.descriptorType == VK_DESCRIPTOR_TYPE_UNIFORM_BUFF… in init() local
367 usageFlags, // VkBufferUsageFlags usage; in init()
823 …const VkBufferUsageFlags usageFlags = m_params.descriptorType == VK_DESCRIPTOR_TYPE_UNIFORM_BUFF… in init() local
831 usageFlags, // VkBufferUsageFlags usage; in init()
/external/skqp/src/gpu/
DGrAHardwareBufferImageGenerator.cpp223 VkImageUsageFlags usageFlags = VK_IMAGE_USAGE_SAMPLED_BIT; in make_vk_backend_texture() local
225 usageFlags = usageFlags | in make_vk_backend_texture()
245 usageFlags, // VkImageUsageFlags in make_vk_backend_texture()
/external/skqp/tools/sk_app/
DVulkanWindowContext.cpp217 VkImageUsageFlags usageFlags = VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | in createSwapchain() local
220 SkASSERT((caps.supportedUsageFlags & usageFlags) == usageFlags); in createSwapchain()
282 swapchainCreateInfo.imageUsage = usageFlags; in createSwapchain()
/external/deqp/external/vulkancts/modules/vulkan/util/
DvktExternalMemoryUtil.hpp307 vk::VkBufferUsageFlags usageFlags);
318 vk::VkImageUsageFlags usageFlags,
DvktExternalMemoryUtil.cpp1103 vk::VkBufferUsageFlags usageFlags) in createExternalBuffer() argument
1117 usageFlags, in createExternalBuffer()
1135 vk::VkImageUsageFlags usageFlags, in createExternalImage() argument
1157 usageFlags, in createExternalImage()
/external/skia/tests/
DVkHardwareBufferTest.cpp596 VkImageUsageFlags usageFlags = VK_IMAGE_USAGE_SAMPLED_BIT | in checkOptimalHardwareBuffer() local
605 imageFormatInfo.usage = usageFlags; in checkOptimalHardwareBuffer()
688 VkImageUsageFlags usageFlags = VK_IMAGE_USAGE_SAMPLED_BIT | in importHardwareBuffer() local
692 usageFlags |= VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT; in importHardwareBuffer()
706 usageFlags, // VkImageUsageFlags in importHardwareBuffer()
/external/skqp/tests/
DVkHardwareBufferTest.cpp590 VkImageUsageFlags usageFlags = VK_IMAGE_USAGE_SAMPLED_BIT | in checkOptimalHardwareBuffer() local
599 imageFormatInfo.usage = usageFlags; in checkOptimalHardwareBuffer()
684 VkImageUsageFlags usageFlags = VK_IMAGE_USAGE_SAMPLED_BIT | in importHardwareBuffer() local
688 usageFlags |= VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT; in importHardwareBuffer()
702 usageFlags, // VkImageUsageFlags in importHardwareBuffer()
/external/deqp/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemUtils.cpp283 vk::VkImageUsageFlags usageFlags) in createImage2D() argument
310 usageFlags, // VkImageUsageFlags usage in createImage2D()
332 vk::VkBufferUsageFlags usageFlags, in makeBuffer() argument
359 usageFlags, // usage in makeBuffer()
DvktProtectedMemUtils.hpp83 vk::VkImageUsageFlags usageFlags);
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktAtomicOperationTests.cpp78 …fer (const DeviceInterface& vkd, VkDevice device, VkDeviceSize size, VkBufferUsageFlags usageFlags) in createBuffer() argument
86 usageFlags, in createBuffer()
/external/deqp/external/vulkancts/modules/vulkan/image/
DvktImageTranscodingSupportTests.cpp269 const VkImageUsageFlags usageFlags,
450 const VkImageUsageFlags usageFlags, in makeCreateImageInfo() argument
470 usageFlags, // VkImageUsageFlags usage; in makeCreateImageInfo()
DvktImageMutableTests.cpp1437 const VkImageUsageFlags usageFlags = VK_IMAGE_USAGE_STORAGE_BIT | VK_IMAGE_USAGE_TRANSFER_SRC_BIT; in downloadTexture() local
1438 …eDef.viewFormat, m_caseDef.viewFormat, false, m_caseDef.size, 1u, m_caseDef.numLayers, usageFlags); in downloadTexture()
1519 const VkImageUsageFlags usageFlags = VK_IMAGE_USAGE_STORAGE_BIT | VK_IMAGE_USAGE_TRANSFER_SRC_BIT; in downloadLoad() local
1520 …eDef.viewFormat, m_caseDef.viewFormat, false, m_caseDef.size, 1u, m_caseDef.numLayers, usageFlags); in downloadLoad()
/external/deqp/external/vulkancts/modules/vulkan/memory/
DvktMemoryAllocationTests.cpp250 …VkBufferUsageFlags usageFlags = vk::VK_BUFFER_USAGE_TRANSFER_SRC_BIT|VK_BUFFER_USAGE_TRANSF… in iterate() local
266 usageFlags, // VkBufferUsageFlags usage; in iterate()
/external/deqp/external/vulkancts/modules/vulkan/
DvktShaderLibrary.cpp754 …VkBuffer> createBuffer (Context& context, vk::VkDeviceSize size, vk::VkBufferUsageFlags usageFlags) in createBuffer() argument
763 usageFlags, // usage in createBuffer()
772 …, deUint32 height, vk::VkFormat format, vk::VkImageTiling tiling, vk::VkImageUsageFlags usageFlags) in createImage2D() argument
787 usageFlags, // usage in createImage2D()
/external/deqp/external/vulkancts/modules/vulkan/ubo/
DvktUniformBlockCase.cpp1689 …Buffer> createBuffer (Context& context, VkDeviceSize bufferSize, vk::VkBufferUsageFlags usageFlags) in createBuffer() argument
1701 usageFlags, // VkBufferUsageFlags usage; in createBuffer()
1710 …, deUint32 height, vk::VkFormat format, vk::VkImageTiling tiling, vk::VkImageUsageFlags usageFlags) in createImage2D() argument
1725 usageFlags, // VkImageUsageFlags usage in createImage2D()

12