OpenTPW

COMPAT-010: Trace texture filter state mapping#

Current bounded implementation (2026-10-20)#

Independent host texture creation flags; native filtering/state mapping remains open. See implementation contract. Recovered the independently source-reviewed frozen change and integrated current main de0a3bff. Synthetic C# fixtures are included; exact-head CI and rendered validation are not yet claimed. No fidelity identifier is retired. The original plan below is historical and its plan-only description is superseded for this bounded slice; unresolved evidence gates remain.

Historical proposal#

Status and classification#

Source-verified residual#

Material selects preset samplers; clamped slots retain preset MINFILTER while traced PC state would use point, and option-to-state mapping remains unresolved.

Source sites#

Implementation cross-check#

Evidence needed#

Bounded investigation and implementation plan#

  1. Confirm current ownership and rebase the proposal against the latest main before runtime changes.

  2. Build a mapping table for option bits, slot address state and sampler flags; implement only verified per-slot filter differences.

  3. Turn each verified behavioral distinction into a small deterministic regression fixture before editing runtime paths.

  4. Keep unknown behavior explicitly unresolved; an evidence-only outcome is valid if no mismatch is established.

  5. Submit any later implementation with exact evidence, changed scope and test output for review.

Acceptance tests to author and run later#

Ownership and overlap#

Completion boundary#

Source: docs/proposals/compat-010-trace-texture-filter-state-mapping.md in the project repository.