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:
authorezwinxdlmao <194417877+ezwinxdlmao@users.noreply.github.com>2026-11-22 12:25:13 +0200
committerezwinxdlmao <194417877+ezwinxdlmao@users.noreply.github.com>2026-11-22 12:25:13 +0200
commitc491cf097c7b9f4711625d903527cb2e4a26ef11 (patch)
tree5de5278839e70b17a88ff083e47fec39ee1d0390 /runtime/src/pe_loader.cpp
parentf85582e23d4ab9e19acbf694358f137d6b8531b1 (diff)
Tests: d3d12_sampler2 compares non-normalized cases only with a host that has them (TEST-191)
The test compared all 22 CreateSampler2 edge cases with the host's PC runtime. A host that reports no NonNormalizedCoordinateSamplersSupported leaves every non-normalized description unwritten, so the test failed at the first one ("UINT border and non-normalized: ours written 1, host runtime 0"). It printed that the host lacks the feature, then compared anyway. Since 817a5e9 registered it with ctest, ctest fails on such hosts. Each edge case now records whether its description has D3D12_SAMPLER_FLAG_NON_NORMALIZED_COORDINATES, read from the description itself. Without the feature on the host, only the 3 cases without the flag are compared live. The layer's answers to all 22 are still checked against the recorded RTX 4090 / WARP answers first, as before. The host's normalized-vs-not descriptor check runs only when the host has the feature. Measured on the host's default adapter here, a Radeon 680M (D3D12 driver 31.0.14084.6002): it reports no non-normalized samplers and leaves all 19 non-normalized descriptions unwritten, which docs/d3d12_vulkan.md now records. 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