Trace horizontal color bands introduced by a textured UI draw #3134

Closed
opened 2026-11-27 16:28:02 +00:00 by github-bot · 1 comment
Owner

@⁠R0Y00 on GitHub · 2026-11-27 16:22 UTC · original

A textured indexed UI draw introduces horizontal bands in the color target. Adjacent rows at the same X alternate between nonzero and black immediately after this draw. It follows a separate gradient draw. The cause and any relation to the missing central illustration remain unverified.

Use a source-built 2D texture with identifiable rows and mip levels, an indexed textured quad, and the native runtime upload, descriptor and sampling paths. Record generated texture data, GPU texels after upload, selected view/subresource, UV and final RGBA across neighboring rows. Include a linear reference upload with the same content and an intentionally wrong row pitch as a negative control. The fixture must first demonstrate which path reproduces the bands.

Acceptance: identify the first mismatching bytes or sample and add a regression with correct adjacent-row colors. If the central illustration has a separate failing draw, report it separately. Target main. No private captures or assets. Comment here to claim.

**@⁠R0Y00** on GitHub · 2026-11-27 16:22 UTC · [original](https://github.com/R0Y00/Xbox2Windows/issues/3132) A textured indexed UI draw introduces horizontal bands in the color target. Adjacent rows at the same X alternate between nonzero and black immediately after this draw. It follows a separate gradient draw. The cause and any relation to the missing central illustration remain unverified. Use a source-built 2D texture with identifiable rows and mip levels, an indexed textured quad, and the native runtime upload, descriptor and sampling paths. Record generated texture data, GPU texels after upload, selected view/subresource, UV and final RGBA across neighboring rows. Include a linear reference upload with the same content and an intentionally wrong row pitch as a negative control. The fixture must first demonstrate which path reproduces the bands. Acceptance: identify the first mismatching bytes or sample and add a regression with correct adjacent-row colors. If the central illustration has a separate failing draw, report it separately. Target main. No private captures or assets. Comment here to claim.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 16:28:02 +00:00
Author
Owner

@⁠legacy-code-archaeologist on GitHub · 2026-11-27 17:50 UTC · original

Claiming #3134.

Plan:

  • Build a source-built synthetic reproduction using a 32x32 3-mip RGBA8 texture with identifiable row/column/mip values, a preceding indexed gradient draw, and an indexed textured quad through the native runtime upload (XG linear/compact small_texture_4k, CopyTextureRegion slot 16, gfx10::Layout slot 70), descriptor (slot 18 / slot 70), and sampling paths.
  • Record generated CPU texture data, GPU texels after upload (readback), selected view/subresource, UV across neighboring rows, and post-draw RGBA values, plus linear reference and intentionally wrong row-pitch negative controls.
  • Identify which path reproduces the alternating nonzero/black horizontal row bands (first mismatching byte/sample), fix any shared runtime bugs found, and add a CTest regression verifying adjacent-row colors on WARP and hardware targeting \main.

AI-assisted.

**@⁠legacy-code-archaeologist** on GitHub · 2026-11-27 17:50 UTC · [original](https://github.com/R0Y00/Xbox2Windows/issues/3132#issuecomment-7224838985) Claiming #3134. Plan: - Build a source-built synthetic reproduction using a 32x32 3-mip RGBA8 texture with identifiable row/column/mip values, a preceding indexed gradient draw, and an indexed textured quad through the native runtime upload (XG linear/compact small_texture_4k, CopyTextureRegion slot 16, gfx10::Layout slot 70), descriptor (slot 18 / slot 70), and sampling paths. - Record generated CPU texture data, GPU texels after upload (readback), selected view/subresource, UV across neighboring rows, and post-draw RGBA values, plus linear reference and intentionally wrong row-pitch negative controls. - Identify which path reproduces the alternating nonzero/black horizontal row bands (first mismatching byte/sample), fix any shared runtime bugs found, and add a CTest regression verifying adjacent-row colors on WARP and hardware targeting \main\. AI-assisted.
This discussion has been locked. Commenting is limited to contributors.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/R0Y00--Xbox2Windows#3134
No description provided.