Home
last modified time | relevance | path

Searched refs:ahb_usage (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/amd/vulkan/
Dradv_android.c535 uint64_t ahb_usage = 0; in radv_ahb_usage_from_vk_usage() local
537 ahb_usage |= AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE; in radv_ahb_usage_from_vk_usage()
540 ahb_usage |= AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE; in radv_ahb_usage_from_vk_usage()
543 ahb_usage |= AHARDWAREBUFFER_USAGE_GPU_COLOR_OUTPUT; in radv_ahb_usage_from_vk_usage()
546 ahb_usage |= AHARDWAREBUFFER_USAGE_GPU_CUBE_MAP; in radv_ahb_usage_from_vk_usage()
549 ahb_usage |= AHARDWAREBUFFER_USAGE_PROTECTED_CONTENT; in radv_ahb_usage_from_vk_usage()
552 if (ahb_usage == 0) in radv_ahb_usage_from_vk_usage()
553 ahb_usage = AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE; in radv_ahb_usage_from_vk_usage()
554 return ahb_usage; in radv_ahb_usage_from_vk_usage()
/external/vulkan-validation-layers/layers/
Dcore_validation.cpp3711 uint64_t ahb_usage = ahb_usage_map_v2a[ubit]; in ValidateAllocateMemoryANDROID() local
3712 if (0 == (ahb_usage & ahb_desc.usage)) illegal_usage = true; in ValidateAllocateMemoryANDROID()
3764 const VkAndroidHardwareBufferUsageANDROID *ahb_usage = in ValidateGetPhysicalDeviceImageFormatProperties2ANDROID() local
3766 if (nullptr != ahb_usage) { in ValidateGetPhysicalDeviceImageFormatProperties2ANDROID()