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:
authorTheHoracio <TheHoracio@users.noreply.github.com>2026-11-22 15:54:48 +0100
committerTheHoracio <TheHoracio@users.noreply.github.com>2026-11-22 17:29:18 +0100
commit4f61715cc0d51e7af5ae7ff802c7197bd5b538b7 (patch)
tree1f15ab7fba342f18cc8d05b12959a8af79bc83a1 /runtime/src/pe_loader.cpp
parent4eb6155d3ac4f9d3fadb0d095c4ce13e76783615 (diff)
Runtime: MSAA PSOs take the standard sample pattern; draws check attachment sample counts
CreateGraphicsPipelineState refused every SampleDesc.Quality but 0. Native D3D12 (RX 7800 XT, a Radeon iGPU and WARP) accepts 0, D3D12_STANDARD_MULTISAMPLE_PATTERN and D3D12_CENTER_MULTISAMPLE_PATTERN and refuses 1 (past NumQualityLevels). The standard pattern is Vulkan's standard positions, so it is accepted; the centre pattern needs custom sample locations and is refused with a log until those exist. At replay every bound render target and depth target must have the PSO's sample count (D3D12 leaves a mismatch undefined, Vulkan's dynamic rendering forbids it), so a mismatched draw fails the list with invalid_subresource instead of reaching the driver. d3d12_msaa_draw_test (in ctest): 4x draws with a depth target, SampleMask 0x1 and ResolveSubresource; the quality rules; a 4x PSO into a 1x target. 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