"""Builders for the objects the blit and compute decoders reference: functions, compute pipelines, fences, samplers, textures over buffers, indirect command buffers and heaps, and the decoders' records (docs/testing.md, sections 6.11, 6.14, 6.15, 6.18, 6.19). Each layout names the reims-vgpu-core module or item that reads it. Nothing here is imported from the library's code. """ import struct from . import abi from .abi import PAGE from .scenario import Scenario from .task import GPUTask, rec, seg # ---- object records ---- # PGOperationHeader (resources::manager::records::OperationHeader): {u32 # commandType, u32 unread}, 8 bytes, after the per-type prefix. OP_HDR = struct.Struct("