Searched refs:ahb_usage (Results 1 – 2 of 2) sorted by relevance
535 uint64_t ahb_usage = 0; in radv_ahb_usage_from_vk_usage() local537 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()
3711 uint64_t ahb_usage = ahb_usage_map_v2a[ubit]; in ValidateAllocateMemoryANDROID() local3712 if (0 == (ahb_usage & ahb_desc.usage)) illegal_usage = true; in ValidateAllocateMemoryANDROID()3764 const VkAndroidHardwareBufferUsageANDROID *ahb_usage = in ValidateGetPhysicalDeviceImageFormatProperties2ANDROID() local3766 if (nullptr != ahb_usage) { in ValidateGetPhysicalDeviceImageFormatProperties2ANDROID()