protonscr

Potential bug with EI and StartInstanceLocation

vkd3dclosed
HansKristian-Work/vkd3d-proton#2100 · opened 2024-08-30 by HansKristian-Work · updated 2024-09-02 · 4 comments · github
HHansKristian-Work 2024-08-30 github

Developer reported a buggy case where:

  • ExecuteIndirect with push constant update is used.
  • Instanced VBO is used.
  • StartInstanceLocation is used in the indirect indexed draw call.
  • It is expected that instanced VBO is offset correctly.
    • This does not seem to happen on Deck.

We probably need test coverage here.

GGlassBeaver 2024-08-30 github

Hi, the dev here. The bug only seems to exist on the Beta channel on the Deck - Stable seems to be fine.

Hhakzsam 2024-09-02 github

@HansKristian-Work This bug exists since RADV implemented NV DGC (https://gitlab.freedesktop.org/mesa/mesa/-/commit/2d2591bbb7f1204e35f5120701166efb7a87d1e2).

I'm wondering why Stable/Beta on Deck is different then.

Hhakzsam 2024-09-02 github

Nvm, this commit is fine, I missed "Fixed bug". I think I know when the regression started.

Hhakzsam 2024-09-02 github

https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30971 fixes it and everything makes sense. I will backport it on Beta channel.

Nothing extracted yet.