upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/src/bcpack.cpp
diff options
context:
space:
mode:
authorkawaii-shakal <deusex1998@gmail.com>2026-11-24 20:09:27 +0500
committerkawaii-shakal <deusex1998@gmail.com>2026-11-24 20:10:05 +0500
commit245c959ea0a109904b0fb6f1f6f1bafee241f8f4 (patch)
treec3c0d029d0b27fe3eaae4bf8595179e83e3c9ae4 /runtime/src/bcpack.cpp
parenta28927849adb4e40dfdec8c32fb6758dcd205a37 (diff)
d3d12_xs: ask the host D3D12CreateDevice for feature level 11_0 (BL-2)
The host path of D3D12XboxCreateDevice asked the PC D3D12CreateDevice for minimum feature level 12_0, which a comment called the least restrictive floor. It is the other way round: the minimum refuses every adapter below it, so a host that tops out at 11_x failed with E_INVALIDARG (docs/boot_leads.md BL-2). rt::d3d12_xs::create_host_device asks for kHostDeviceFloor = 11_0, the lowest level D3D12 creates a device at; the device keeps its highest level, which FEATURE_LEVELS reports and the log prints (max_feature_level). xs_proxy_mock_test drives it with mock hosts that top out at 11_0, 11_1, 12_0, 12_1 and 12_2. Each one is created at 11_0, the device proxy's slot 13 reports the host's own top level, and the failure paths (no host function, failing host, S_OK with no device) clear the output. With 12_0 as the floor the 11_x hosts fail. The Vulkan-backed device takes no feature level and stays at 12_1 (no ray tracing tier, no sampler feedback). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/bcpack.cpp')
0 files changed, 0 insertions, 0 deletions