Skip to content

Shaders: upload textures reached through computed table entries - #6

Closed
SinisterRob wants to merge 1 commit into
BastienRodz:shader/computed-table-read-marksfrom
SinisterRob:shader/computed-table-gre
Closed

SinisterRob wants to merge 1 commit into
BastienRodz:shader/computed-table-read-marksfrom
SinisterRob:shader/computed-table-gre

Conversation

@SinisterRob

Copy link
Copy Markdown

Follow-up to Marvisak#2724 for Marvisak#2722.

A computed table read now sets the correct read mark. However, if the shader uses only a table, its translation still has heap = false. The mark creates the placed view, but draw::State::bind does not defer the heap, so the next submission never uploads that texture's title bytes.

Have lowering flag these texture reads for the existing heap refresh path. Fixed entries still use draw-time preparation.

On an RX 7900 GRE with Wine 11.22 and RADV 26.2.7, a synthetic translated shader creates a placed view on the original PR head, but subsequent GPU texel readbacks stay zero. With the follow-up the readback returns the expected 128. The shader harness also validates the DXIL and verifies the exact read-mark bits for two runtime table indices. Three focused GPU tests and all four shader memory tests passed.

AI-assisted. Synthetic inputs only.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 25, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-25T19:02:00.702454Z 446271f PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@SinisterRob SinisterRob closed this by deleting the head repository Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant