fix: preserve D3D texture addressing in native UI sampling

This commit is contained in:
shen
2026-10-18 03:49:11 -07:00
parent fe6e41dc8e
commit b61140b8f4
13 changed files with 94 additions and 9 deletions
@@ -46,9 +46,10 @@
"src/platform/EterLib/GrpExpandedImageInstance.cpp:CGraphicExpandedImageInstance::OnRender"
],
"test": [
"tests/port/port_grp_resource_test.cpp"
"tests/port/port_grp_resource_test.cpp",
"tests/host/ui_sampler_capture_test.cpp"
],
"note": "40250: CULLMODE CCW for a mirrored scale, Save/RestoreRenderState SRCBLEND/DESTBLEND per RENDERING_MODE, PDT-stream fill-rect draw. Port: the verbatim vertices plus m_iRenderingMode go to UIRenderAddImage; the Vulkan UI pipeline (cull none) maps SCREEN/COLOR_DODGE to INVDESTCOLOR+ONE and MODULATE to ZERO+SRCCOLOR (ui_batches.cpp). Invariant: same corners, UVs and blend factors."
"note": "40250: CULLMODE CCW for a mirrored scale, Save/RestoreRenderState SRCBLEND/DESTBLEND per RENDERING_MODE, PDT-stream fill-rect draw. Port: the verbatim vertices plus m_iRenderingMode go to UIRenderAddImage; the Vulkan UI pipeline (cull none) maps SCREEN/COLOR_DODGE to INVDESTCOLOR+ONE and MODULATE to ZERO+SRCCOLOR (ui_batches.cpp). Invariant: same corners, UVs and blend factors. 2026-10-18: stage-0 U/V addressing is carried into Vulkan UI descriptors; the prior unconditional clamp stretched Board.SetRenderingRect tiling into edge stripes. Native before/after screenshots and independent wrap/mirror/clamp tests are recorded in audit/evidence/2026-10-18-ui-addressing.md."
},
"CGraphicExpandedImageInstance::SetDepth": {
"status": "PORTED",