Module spirv_tools_sys::shared[][src]

Structs

Binary
ToolContext

Enums

SpirvResult
TargetEnv

Certain target environments impose additional restrictions on SPIR-V, so it’s often necessary to specify which one applies. Universal_* implies an environment-agnostic SPIR-V.

Functions

binary_destroy

Frees a binary stream from memory. This is a no-op if binary is a null pointer.

context_create

Creates a context object for most of the SPIRV-Tools API. Returns null if env is invalid.

context_destroy

Destroys the given context object.