Shaders: legacy geometry PSOs retranslate the same ES+GS pair for every pixel shader (verification help wanted) #2876
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
goal:world-load
good first issue
help wanted
invalid
keep-open
off-goal
question
stale
test-only
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/xcl-dev--xcl#2876
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
@KOLESNiii on GitHub · 2026-11-26 20:33 UTC · original
Could someone verify whether legacy geometry PSOs spend measurable CPU time retranslating the same ES+GS pair when only the pixel shader or fixed-function state changes?
On
mainat8b957bec,translated_gs_psocallsconsole_geometrybefore either native driver-cache lookup.console_geometryreparses and combines the ES and GS and runs direct DXIL lowering or generates HLSL before looking up the DXC result. By comparison, the NGG mesh path caches its compute pass before making the pixel-signature-specific mesh passthrough. GS caller · ES+GS translation · HLSL cache lookup · NGG compute-pass cacheA Windows check could create two valid PSOs with identical console VS/GS bytes and different PS or fixed-function state, after warming DXC and the driver blobs. Count and time the ES+GS lowering calls separately from passthrough generation and native PSO creation. Please verify whether the repeat work also shows up in a representative title before deciding if it warrants a cache.
This was a static source review on Linux. PR #2103 covers deferring direct geometry lowering during a cached-only probe. This report asks about repeated lowering across builds that proceed to translation.
AI use: Codex (GPT-6, exact serving variant unavailable) for the Graphify-assisted review and issue draft.
Verify whether legacy geometry PSOs repeat ES+GS translation on warm cachesto Shaders: legacy geometry PSOs retranslate the same ES+GS pair for every pixel shader (verification help wanted)