upleb.uk

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

summaryrefslogtreecommitdiff
path: root/runtime/src/pe_loader.cpp
diff options
context:
space:
mode:
authorDominik <55330408+Dom-in@users.noreply.github.com>2026-11-22 11:43:54 +0000
committerDominik <55330408+Dom-in@users.noreply.github.com>2026-11-22 11:43:54 +0000
commit196d200242866062a94b17b9f7bbbfe5efcc83ed (patch)
tree6cfbf869bd7f4fefaa2b29b18e0d695ae6fc02a7 /runtime/src/pe_loader.cpp
parentbb2e18421dac527374eb837c88b5063c5d96f81f (diff)
d3d12: D24 format support and MSAA levels describe the D32 image creation makes
On a GPU without Vulkan D24_UNORM_S8_UINT (AMD), a D24 texture is a D32_SFLOAT_S8_UINT image (#737), but CheckFeatureSupport answered from the D24 format itself: FORMAT_SUPPORT gave Support1 = 0 for D24_UNORM_S8_UINT and R24G8_TYPELESS, and MULTISAMPLE_QUALITY_LEVELS gave 0 levels for R24G8_TYPELESS at every count, while CreateCommittedResource(ALLOW_DEPTH_STENCIL) succeeded (found by @zneel, #1380 item 2). - FORMAT_SUPPORT queries D32_SFLOAT_S8_UINT when the format resolves to D24 and the device can't use D24. - MULTISAMPLE_QUALITY_LEVELS takes the creation path for typeless formats that are only valid as depth. - d3d12_d24_support_test checks the layer against itself on any GPU: DEPTH_STENCIL is reported exactly when a 1x depth-stencil texture is created, and a quality level exactly when a 2x/4x/8x one is. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/pe_loader.cpp')
0 files changed, 0 insertions, 0 deletions