One commit of the 247 on development-fast (720ef1ce9a..9f46fdf80d), squashed at the user's request. Translator: - Tessellation on a device without tessellationShader: Metal's tessellator emitted as SPIR-V, a one-workgroup scan placing each patch's triangles in Metal's order, and the post-tessellation function as a plain vertex stage (EmulatedTessellationDraws; SEMANTICS 1739, ARTIFACT_FORMAT 419). - [[primitive_id]] on a device without geometry or tessellation shaders, as a flat varying the vertex function writes; indexed lists, lines and points drawn de-indexed (RuntimeGap::PrimitiveIdIndices). - Fragment functions of more colors than the device draws at once, compiled in color groups (PrecisionNote::ColorAttachmentGroups). - Object functions' threadgroup memory from the render encoder; a kernel's mesh draws from an indirect command buffer; mesh payload sizing. - The Vulkan 1.2 floor profile (vk12-floor) and the gates it needs; Metal 27.0.1 answers as the M3 Max. - Overflow tests in the runtime-built modules by the product's high word (NVIDIA's compiler fails the division form), guarded crate-wide by tests::owned_divisions. Runtime: - Color-group passes replayed per group over twin depth/stencil; snapshot and copy-back cost cuts. - Command buffers finish on the queue waiter that saw them; the waiter holds no device handle, so a program's drop after its wait is the device's last. - Every object an encoder was handed held until its command buffer completes; deallocator order and announcements. - Driver defects recorded and announced: ANV counts a visibility sample once per color output (visibility-count-per-color); MoltenVK fails pending work when memory that held a device-address buffer is freed, so freed memory waits for the work in flight (host-deallocator-delayed). - RenderCommandEncoder::set_object_threadgroup_memory_length; Visibility::counting(). Validation: mesh tooling (object, mesh and ICB-mesh cases on both executors), the authoring census closed, the queue storm judged in Metal's unit, load-robust exits and indirect-census bounds, and the golden hashes, printouts, fixture inventory and authored compile census blessed. Docs: FAST-PATHS.md trimmed to a ledger of what is true now; API.md's catalogue and accepted differences, REFUSALS.md and METAL-COVERAGE.md current. Verified on development-fast before the squash: the full suites on the RTX 5080, RTX 3090, RX 7900 XTX, Radeon 780M, Iris Xe, lavapipe and the M3 (MoltenVK and the Metal oracle), lint in every configuration, rustdoc, doc tests, packaging and public case qualification; the timing and teardown lanes x5 on every venue; the authoring-capability census 16656/16656 with 0 unresolved, the vk12-floor translation census at 6139 translated with the slowest row 794 ms and peak 126 MiB. The tree is development-fast's at 9f46fdf80d.
25 lines
2.3 KiB
TOML
25 lines
2.3 KiB
TOML
# The Vulkan loader serves these calls itself and reads the device handle's first word, which
|
|
# MoltenVK 1.4.1 overwrites when it reports a message about the device. Validation
|
|
# makes them only through `VulkanContext` (`candidate/platform/device.rs`), which puts the word
|
|
# back first. Command tables load through `vkGetDeviceProcAddr`: `ash::Device::load`, the
|
|
# extension tables validation uses, and the debug-utils and debug-marker tables are listed, with
|
|
# the object naming and tagging calls of those two that ash has (the loader serves them too).
|
|
# Another `ash::<ext>::Device::new` that validation starts to use must be added here.
|
|
disallowed-methods = [
|
|
{ path = "ash::Device::allocate_command_buffers", reason = "use VulkanContext::allocate_command_buffers" },
|
|
{ path = "ash::Device::destroy_device", reason = "VulkanContext's Drop destroys the device" },
|
|
{ path = "ash::Device::get_device_queue", reason = "the context's queue is VulkanContext::queue" },
|
|
{ path = "ash::Device::get_device_queue2", reason = "the context's queue is VulkanContext::queue" },
|
|
{ path = "ash::Instance::get_device_proc_addr", reason = "load device commands through VulkanContext" },
|
|
{ path = "ash::Device::load", reason = "load device commands through VulkanContext" },
|
|
{ path = "ash::ext::debug_utils::Device::new", reason = "load device commands through VulkanContext" },
|
|
{ path = "ash::ext::debug_utils::Device::set_debug_utils_object_name", reason = "the loader serves it and reads the device's word" },
|
|
{ path = "ash::ext::debug_utils::Device::set_debug_utils_object_tag", reason = "the loader serves it and reads the device's word" },
|
|
{ path = "ash::ext::debug_marker::Device::new", reason = "load device commands through VulkanContext" },
|
|
{ path = "ash::ext::debug_marker::Device::debug_marker_set_object_name", reason = "the loader serves it and reads the device's word" },
|
|
{ path = "ash::khr::acceleration_structure::Device::new", reason = "use VulkanContext::acceleration_structure" },
|
|
{ path = "ash::khr::swapchain::Device::new", reason = "load it as the device comes back from vkCreateDevice" },
|
|
{ path = "ash::ext::extended_dynamic_state::Device::new", reason = "the context loads it at creation" },
|
|
{ path = "ash::ext::extended_dynamic_state2::Device::new", reason = "the context loads it at creation" },
|
|
]
|