Repository navigation
Shader: add mesh emulation translation and cache metadata - #26
Merged
devin-ai-integration[bot] merged 2 commits intoNov 25, 2026
Merged
Conversation
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Contributor
Author
|
I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".
|
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
devin-ai-integration Bot
added a commit
that referenced
this pull request
Nov 25, 2026
main moved meanwhile: the other sessions' rx580 work — mesh shader emulation (#25/#26), barrier coalescing (#23), parallel refreshes (#22), repeated-close tolerance, streaming BCPack (#17). Resolved in favour of the fxceless tree as before: those features are main-only and depend on this fork's old emit architecture, so each is a re-port follow-up on the new base. Mesh emulation is the top priority of those — it is the RX 580 unblocker. Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This was referenced Nov 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Ports the shader/cache stage of Marvisak/VIctory#1648, without enabling runtime mesh dispatch yet.
MeshMode::Emulate, lowering a mesh program intocs_6_6compute plus generated vertex-unpack shader metadata. Scratch bindings useMESH_EMU_SPACE = 4because spaces 2 and 3 are already used by this fork's address map and descriptor words.VSH3) with mesh-emulation metadata and separates cache entries by converter id (shader.dxilvsshader.dxil.mesh-emu) so native and emulated translations of the same container cannot collide.victory translatecan now select emulation throughVICTORY_MESH_EMULATION=1, or automatically when host pipeline probing reports no mesh-shader support.Runtime GPU submission still uses native mesh pipelines; wiring
host_shader_with(..., MeshMode::Emulate), scratch buffers, and dispatch preparation is the next #1648 stage.Validated locally: asset policy, fmt, Linux
victory-shadertests, Windows-target workspace check and all-features clippy.Link to Devin session: https://app.devin.ai/sessions/75bbf6b4192940fea34014b13a016bee
Open in Devin Desktop: https://app.devin.ai/desktop/session/75bbf6b4192940fea34014b13a016bee?variant=devin
Requested by: @Personed