docs(debt): record NVIDIA's unswizzled opaque black border under a DST_SEL that moves alpha #23059
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/23059"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by MichonGoddijn231849 on 2026-11-18T17:07:49Z.
What
A debt entry records how an opaque black border comes back when the T# DST_SEL moves alpha. RDNA2 applies the DST_SEL to the border like a texel. AnyPS5 turns the DST_SEL into the image view's component swizzle without enabling VK_EXT_border_color_swizzle, which Vulkan leaves undefined. AMD's driver happens to swizzle the border like RDNA2. NVIDIA reports
borderColorSwizzleFromImage = falseand returns the unswizzled (0, 0, 0, 1).Only
docs/dev/debt/changes/docs-nvidia-border-dst-sel.mdis added; no code changes. The existing border entries cover BC_SWIZZLE (RequireBorderSwizzle) and image-table S#s, not DST_SEL, and nothing open covers it.Measurement:
tools/hw-oracleon gfx1036 againstagc_oracle_runneron both GPUs. A 2x1 texture is point-sampled withimage_sample_lz(DMASK 0xf) at x = -0.5 through an S# withCLAMP_BORDERon every axis and each border color type, BC_SWIZZLE 0:Integer opaque white reads 1 on all three. (One-channel formats with an X,Y,Z,W DST_SEL differ on both hosts, borders included, because RDNA2 repeats X into the missing channels; #22654 covers that.)
Tested
Windows 11 Pro 10.0.26200; NVIDIA GeForce RTX 5080 (driver 610.74) and AMD Radeon(TM) Graphics (RDNA2 iGPU, gfx1036, driver 32.0.21045.16010), AnyPS5 at
main. Feature bits fromvulkaninfo:borderColorSwizzletrue on both,borderColorSwizzleFromImagefalse on NVIDIA and true on AMD. The fragment passestools/debt_fold.py --checkandtools/check_conventions.py. Not tested on a PS5.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)🤖 Generated with Claude Code