Google is committed to advancing racial equity for Black communities. See how.

fuchsia.vulkan.loader

PROTOCOLS

Loader

Defined in fuchsia.vulkan.loader/loader.fidl

Service to provide Vulkan libraries to the loader.

ConnectToDeviceFs

Connects to a FS serving fuchsia.io containing all device nodes potentially relevant to ICDs. /dev/ will be served under in this directory.

Request

NameType
channel handle<channel>

ConnectToManifestFs

Connects to a FS serving fuchsia.io containing all Vulkan ICD manifests. See https://github.com/KhronosGroup/Vulkan-Loader/blob/master/loader/LoaderAndLayerInterface.md#icd-manifest-file-format for a description of the manifest file format. Manifests will always appear in this directory after the relevant device appears in ConnectToDeviceFs().

Request

NameType
options ConnectToManifestOptions
channel handle<channel>

Get

Requests a client driver library with the given name from the Vulkan loader service. Returns a VMO suitable for loading as a dynamic library on success, a null handle on failure.

Request

NameType
name string[64]

Response

NameType
lib handle<vmo>?

GetSupportedFeatures

Returns the set of features the loader service supports.

Request

NameType

Response

NameType
features Features

STRUCTS

BITS

ConnectToManifestOptions flexible

Type: uint32

Defined in fuchsia.vulkan.loader/loader.fidl

NameValueDescription
WAIT_FOR_IDLE 1

Wait for the loader to finish processing current ICD loading/unloading operations before completing the connection.

Features flexible

Type: uint32

Defined in fuchsia.vulkan.loader/loader.fidl

NameValueDescription
GET 1

Implements Get().

CONNECT_TO_DEVICE_FS 2

Implements ConnectToDeviceFs().

CONNECT_TO_MANIFEST_FS 4

Implements ConnectToManifestFs().