tiny.gpu
Overview · API · Code relationships · Verification · Audit
Overview
Devices, memory, pipelines, surfaces and presentation for compiled kernels. A backend loads an artifact whose interface choir_abi describes, checks the artifact's requirements against the device, and launches it. The package links no compiler.
Definitions
Actions
Public operations.
Types and contracts
Public types and contracts.
LoadedRenderArtifact: A pipeline ready to draw, with the facts a pass checks its draws against.TextureUsageRuntimeRequirementsSubgroupFactsArtifactFormatArtifactPayloadBackendErrorBackendKindBackendMathTier: A caller picks the math tier, the arithmetic contract compiled code follows, before compiling for a device.BackendObjectIdBackendVTableBufferAccessBufferAllocationBufferBindingBufferFillRequestBufferHandle: A caller holds this value to name one device buffer in later transfers and launches.BufferImport: A caller fills this request to let a backend use caller memory as a buffer without copying.BufferOwnershipBufferReadRequestBufferWriteRequestCocoaSurfaceColorSpaceCompilePayloadCompileRequestDeviceFamilyDeviceIdentityEventAllocationEventElapsedRequestEventHandle: A caller holds this value to mark a point in queued device work and wait for it.EventQueryRequestEventRecordRequestExternalPayloadExternalSurfaceFloatArithmeticProfile: The f32 contract a compiler may claim for this device.FloatControlFacts: Properties reported by the selected Vulkan physical device.FloatControlIndependenceFloatControlWidthsHeadlessSurfaceKernelArtifactDescLaunchRequestLayoutFeaturesLoadedArtifact: A caller holds this value for compiled code loaded on a device and uses it to launch that code.MemoryLimitsPayloadOwnershipPresentModePresentRequestRenderAddressModeRenderArtifactDescRenderArtifactFormatRenderBindingDescRenderBindingKindRenderBindings: A pipeline's resources, written once and bound by every draw that names them.RenderBindingsRequest: Resources for every binding ofpipeline, in the order ofartifact.bindings.RenderBlendMode: How a fragment's colorscombines with the target's colord.RenderBufferRange: A buffer bound to one vertex layout, read fromoffsetbytes on.RenderBundle: A pass recorded once and submitted any number of times.RenderBundleSubmit: Submits a recorded pass again.RenderColorAttachmentRenderColorLoadRenderCompare: The comparison a depth test applies asfragment op stored.RenderDepthAttachmentRenderDepthBias: An offset added to each fragment's depth before the depth test, so that a decal drawn over a coplanar surface passes a test the surface's own depth would tie.RenderDepthLoadRenderDepthState: A pipeline's depth test.RenderDraw: One draw of a pass.RenderDrawRangeRenderFilterRenderIndexFormatRenderPass: Draws into one color target and an optional depth target, in order.RenderPipelineDesc: A graphics pipeline.RenderPrimitiveTopologyRenderRequest: Recordspassand submits it once.RenderResource: One resource for one binding of a pipeline, of the kind that binding names.RenderSampledTextureRenderSampler: How a sampled texture reads between and beyond its texels.RenderScissorRenderVertexAttributeRenderVertexBufferLayoutRenderVertexFormatRenderVertexStepModeRenderViewportStreamAllocationStreamHandle: A caller holds this value to order work on one device queue.SurfaceAlphaModeSurfaceClearColorSurfaceCreationRequestSurfaceExtentSurfaceFrameSurfaceFrameAcquireRequestSurfaceFrameWriteOpSurfaceFrameWriteRequestSurfaceHandleSurfacePlatformSurfacePlatformKindSyncRequestSyncScopeTextureAllocationTextureExtentTextureFormatTextureHandleTextureOwnershipTextureReadRequest: Copies every texel oftextureintobytes, rows tightly packed from the top.TextureViewTextureWriteRequest: Replaces every texel oftexturewithbytes, rows tightly packed from the top.ThreadgroupFactsWebGpuCanvasSurfaceX11SurfaceKernelArtifactRenderArtifactDTypeSetTextureFormatSetArtifactFormatSetRenderArtifactFormatSetRenderBlendModeSetRenderIndexFormatSetRenderPrimitiveTopologySetColorSpaceSetPresentModeSetRenderBindingKindSetRenderVertexFormatSetSurfacePlatformSetRasterCapabilitiesSurfaceCapabilitiesTextureCapabilitiesBackendCapabilitiesBackendHandle
Namespaces
Public namespaces.
Values and defaults
Public values and defaults.
Code relationships
Direct static dependencies extracted from parsed source by semantic graph analysis.
Uses: tiny.accy, tiny.choir, tiny.deadalloc, tiny.profiling, tiny.sys, tiny.tldr
Used by: tiny.accy
Verification
No verification records are cataloged for this module in this build.
Audit
| Evidence | Value |
|---|---|
| Source | lib/gpu/src/root.zig |
| Definitions | 26 of 138 documented |
| Members | 0 of 0 documented |
| Public names | 138 API, 579 indexed |
| Version | 26.7.0 |
| Revision | daab053ee433 |