shader: own handle for buffer size queries #134
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/134"
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 uiliannn/VItoriaBr. Originally posted by GaiuLulius on 2026-11-28T02:38:21Z.
Port of Marvisak/VIctory#2122 by @imjustprism.
🇧🇷 Português
Garante que a consulta de tamanho de buffers (
getDimensionsems_loadlido como dados) utilize um handle DXIL próprio e independente de acessos de memória.No driver da AMD para RDNA 4 (ex: RX 9070 XT,
amdxc64.dll), o compilador de shaders causava falha interna de segmentação quando um mesmo handle alimentava simultaneamente uma consulta de tamanho de buffer raw e uma instrução de carga/armazenamento.Ao separar os caches de handles para consultas de tamanho, cada query recebe um handle exclusivo.
🇺🇸 English
Queries buffer sizes through a dedicated, independent DXIL handle instead of sharing it with memory accesses.
On AMD's RDNA 4 driver (e.g. RX 9070 XT,
amdxc64.dll), the shader compiler suffered an internal fault when a single handle fed both a raw buffer size query and a memory load/store instruction.By separating handle caches for buffer size queries, each query takes a handle of its own.
Co-authored-by: imjustprism [email protected]
AI-assisted (Hermes Agent, local analysis on VItoriaBr and upstream VIctory diffs).
Pull request closed