diff options
| author | AlxcBTW <187763517+AlxcBTW@users.noreply.github.com> | 2026-11-22 13:10:05 +0100 |
|---|---|---|
| committer | AlxcBTW <187763517+AlxcBTW@users.noreply.github.com> | 2026-11-22 13:10:05 +0100 |
| commit | e4f10932786aafa56d433ea1548929947dc8d5b1 (patch) | |
| tree | d7dec4e43c95475525f7a417bd52daadf65200b5 /runtime/src/thread_stacks.cpp | |
| parent | 2e7d374cb4d2081a3c89cf333cf8335f158a6062 (diff) | |
M2 test: sampler control (ps_m2_uoff, WRAP left / CLAMP right, CPU-predicted pixels)
With U in range, a POINT/CLAMP sampler, a POINT/WRAP one and the fallback sampler give the same pixels, so the
first pass cannot tell which sampler a draw used. The control adds 1 to U before image_sample and picks the sampler
per half through the sampler table: 4096 of 4096 pixels match the CPU prediction and 1536 differ from the plain pass.
Sampler control suggested and measured by @Vonsek in #1489.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/thread_stacks.cpp')
0 files changed, 0 insertions, 0 deletions