upleb.uk

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

summaryrefslogtreecommitdiff
path: root/runtime/src/host_cpu.cpp
diff options
context:
space:
mode:
authorhaayden <58538499+haayden@users.noreply.github.com>2026-11-23 16:00:07 -0600
committerhaayden <58538499+haayden@users.noreply.github.com>2026-11-23 16:00:07 -0600
commit721526af3d6b3a59aa50a45fb493a7ef3ed222a5 (patch)
treeb369426e883d32b14403c2b775ccc92767e08673 /runtime/src/host_cpu.cpp
parent5d74c272363f2703265d44e6aaab1a1df8ddfaf3 (diff)
d3d12: FORMAT_SUPPORT answers the depth-plane view formats and comparison sampling as the host does
CheckFeatureSupport(FORMAT_SUPPORT) answered DXGI_ERROR_UNSUPPORTED for R24_UNORM_X8_TYPELESS, X24_TYPELESS_G8_UINT, R32_FLOAT_X8X24_TYPELESS and X32_TYPELESS_G8X24_UINT: they have no image of their own, so the Vulkan lookups found nothing, although CreateShaderResourceView takes them on depth-stencil textures. The host (RTX 5070 Ti and WARP) reports them as sampled 2D and cube textures with mips, the depth plane also filtered. SHADER_SAMPLE_COMPARISON and SHADER_GATHER_COMPARISON were never set, while the host sets them on R32_FLOAT, R16_UNORM and the two depth-plane formats, the formats an engine checks before using a comparison sampler on a shadow map. 1D and multisample loads stay out, as for the depth formats. d3d12_depth_view_format_support_test compares the HRESULT and the view bits of 19 formats with the default adapter (PROBE_WARP=1: WARP): 6 differ on main, 0 with this change, on both. AI-assisted: yes
Diffstat (limited to 'runtime/src/host_cpu.cpp')
0 files changed, 0 insertions, 0 deletions