Target Hardware
Goldy targets modern GPUs exclusively. This is a deliberate design choice — by requiring hardware from roughly 2018 onward, Goldy can use bindless descriptors, dynamic rendering, and coherent caches as baseline assumptions rather than optional features.
Backend Requirements
Vulkan 1.4+
Goldy requires Vulkan 1.4, which promotes several extensions that were optional in earlier versions to core:
| Feature | Vulkan history | Goldy usage |
|---|---|---|
| Dynamic rendering | VK_KHR_dynamic_rendering (1.3) | No render pass objects |
| Descriptor indexing | VK_EXT_descriptor_indexing (1.2) | Bindless resource access |
| Buffer device address | VK_KHR_buffer_device_address (1.2) | 64-bit GPU pointers |
| Synchronization2 | VK_KHR_synchronization2 (1.3) | Simplified barrier model |
| Push descriptors | Core in 1.4 | Efficient uniform updates |
Surface extensions and graphics-only feature bits are requested only when the
device advertises them, so a headless loader without VK_KHR_wayland_surface
(or without fragmentStoresAndAtomics / shaderDrawParameters) can still
create a device. shaderFloat16, shaderInt8, shaderInt16, and shaderInt64
are the same: enabled when present. A shader that declares one of them when it
was not enabled is invalid, and Goldy does not reject that module before
dispatch. Device creation still requires a graphics
queue family. A compute-only ICD fails before any kernel runs; what that change
would take is described in Backend Architecture.
Supported hardware:
- NVIDIA: Turing and later (RTX 2000 / GTX 1600 series, 2018+)
- AMD: RDNA 1 and later (RX 5000 series, 2019+)
- Intel: Xe architecture and later (Arc, 2022+)
- Qualcomm: Adreno 650+ (2019+, driver dependent)
DX12
Goldy's DX12 backend requires:
| Requirement | Details |
|---|---|
| D3D12 Enhanced Barriers | Windows 11 + WDDM 3.0+ driver |
ResourceDescriptorHeap | SM 6.6 bindless (Shader Model 6.6) |
| Root constants | Push constants equivalent |
Enhanced Barriers are mandatory — Goldy does not fall back to legacy resource state transitions. This effectively requires Windows 11 with a modern driver.
For software rendering and CI, Goldy supports the WARP software rasterizer via GOLDY_DX12_FORCE_WARP=1.
Metal
Goldy's Metal backend is native (no MoltenVK) and requires Argument Buffers Tier 2 for bindless resource access:
| Requirement | Details |
|---|---|
| Argument Buffers Tier 2 | Bindless via ParameterBlock |
| MSL (via Slang) | Slang compiles directly to Metal Shading Language |
Supported hardware:
- Apple Silicon: All models (M1/M2/M3/M4, A14+). This is the supported Metal path.
Intel and AMD Macs are unsupported. The backend can attempt a best-effort
non-Apple placement (Private heaps, Private textures, device-local unflagged
parcels, standalone Shared buffers for CPU-visible exchange media), but that
path is untested on hardware. Do not treat a green macos-15-intel job as
coverage: that runner's paravirtual GPU is Metal 2 and cannot create a runtime.
The floor, when the best-effort path is tried, is Metal 3, macOS 13, Argument
Buffers Tier 2, and read-write texture tier 2. Polaris (Radeon Pro 4xx/5xx,
555X/560X, 580X) is Tier 2 but not Metal 3, so it is outside the floor.
hasUnifiedMemory is not the heap predicate: Intel iGPUs report it and still
reject Shared heaps.
What "Modern GPU" Means for Goldy
Goldy's hardware floor is defined by a set of architectural capabilities, not specific product names:
| Capability | Why Goldy needs it |
|---|---|
| Coherent L2 cache | No manual cache flush/invalidate logic |
| Bindless descriptors | Single global descriptor model, no set layouts |
| Dynamic rendering | No render pass objects or framebuffer compatibility |
| 64-bit buffer addresses | Direct pointer access in shaders |
| Unified or REBAR memory | Simplified CPU-GPU data transfer |
GPUs from roughly 2018 onward universally support these features. The specific API version requirements (Vulkan 1.4, DX12 Enhanced Barriers, Metal Tier 2) are the mechanism by which Goldy enforces this floor.
Optional: ray tracing and mesh shaders
Bindless, dynamic rendering, and buffer device addresses are required. Hardware ray tracing and mesh shaders are not — GTX 16-series, RDNA1, and many iGPUs meet Goldy's floor without RT cores or mesh shaders.
Query them on Adapter::capabilities() / Runtime::capabilities() (RuntimeCapabilities):
| Flag | Meaning |
|---|---|
ray_query | Inline ray queries (Vulkan VK_KHR_ray_query, DXR 1.1, Metal supportsRaytracing) |
ray_tracing_pipelines | RT pipelines (Vulkan VK_KHR_ray_tracing_pipeline, DXR 1.0+). Metal reports false — use ray_query. |
mesh_shaders | Mesh shaders (Vulkan VK_EXT_mesh_shader, DX12 mesh tier 1, Metal Apple7 / Mac2 / Metal3) |
amplification_shaders | Task / amplification / object shaders with mesh |
These bits report adapter hardware. Inline RayQuery ([goldy_compute]) records on Vulkan, DX12, and Metal when ray_query is set. Ray-tracing pipelines (RayTracingPipeline + Scheme::trace_rays) record on Vulkan and DX12. Mesh draws (MeshPipeline + dispatch_mesh) record on Vulkan, DX12, and Metal when mesh_shaders is set.
Additional Backends
| Backend | Status | Notes |
|---|---|---|
| CUDA | In progress | NVIDIA compute prototype; cuda Cargo feature |
| WebGPU | In progress | Cross-platform prototype via wgpu; webgpu Cargo feature |
| Tenstorrent | Planned | Torus Fondaco runtime design (not yet implemented) |
These backends are not yet supported for production use. See Backend Architecture for details.
What This Excludes
| Excluded | Reason |
|---|---|
| NVIDIA GTX 900 series (Maxwell) | No Vulkan 1.4 support |
| AMD GCN (RX 400/500) | Driver support ended; limited bindless |
| Intel Gen9 (HD 500/600) | Incomplete Vulkan feature coverage |
| Intel integrated GPUs pre-2017 (Mac) | No Argument Buffers Tier 2 |
| Pre-Windows 11 DX12 | No Enhanced Barriers |
Checking Compatibility
Goldy reports unsupported devices at initialization:
#![allow(unused)] fn main() { let instance = Instance::new()?; for adapter in instance.enumerate_adapters() { println!("{}: {:?}", adapter.name, adapter.device_type); } // request_runtime returns an error on unsupported hardware let device = instance .request_adapter(&RequestAdapterOptions::default())? .request_runtime(&RuntimeDescriptor::default())?; }
The Tradeoff
By drawing a line at modern hardware, Goldy avoids the fallback paths, compatibility checks, and feature-level negotiation that dominate traditional GPU libraries. Every code path in Goldy assumes the full feature set is available. This keeps the implementation small and the API surface predictable.
The cost is clear: Goldy cannot run on the long tail of older hardware. For applications that need broad device support, wgpu is the better choice.