fuchsia.vulkan.loader

Added: 11

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

<EMPTY>

Response

NameType
features Features

BITS

ConnectToManifestOptions flexible

Type: uint32

Defined in fuchsia.vulkan.loader/loader.fidl

NameValueDescription
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
1

Implements Get().

2

Implements ConnectToDeviceFs().

4

Implements ConnectToManifestFs().