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

Closed
opened 2026-11-27 16:22:16 +00:00 by R0Y00 · 1 comment
R0Y00 commented 2026-11-27 16:22:16 +00:00 (Migrated from github.com)
Contributor

Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-27T16:22:16Z.


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.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:6650305500 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/issues/3132). Originally posted by [R0Y00](https://github.com/R0Y00) on 2026-11-27T16:22:16Z. --- 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.
legacy-code-archaeologist commented 2026-11-27 17:50:15 +00:00 (Migrated from github.com)
Author
Contributor

Imported from R0Y00/Xbox2Windows. Originally posted by legacy-code-archaeologist on 2026-11-27T17:50:15Z.


Claiming #3132.

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.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7224838985 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/issues/3132#issuecomment-7224838985). Originally posted by [legacy-code-archaeologist](https://github.com/legacy-code-archaeologist) on 2026-11-27T17:50:15Z. --- Claiming #3132. 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.
Sign in to join this conversation.
No labels
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.

Reference
R0Y00/Xbox2Windows#3132
No description provided.