Repository navigation
exp: diagnostiquer les DLL graphiques locales - #7
Draft
4276b5yjdw-pixel3 wants to merge 1 commit into
Draft
4276b5yjdw-pixel3 wants to merge 1 commit into
4276b5yjdw-pixel3 wants to merge 1 commit into
Conversation
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.
Objet
Propose un diagnostic expérimental des bibliothèques graphiques locales.
VICTORY_TEST_DLL_DIRdoit désigner un dossier absolu contenant les DLL fournies par l'utilisateur ; aucun fichier du kit ni fichier du jeu n'est inclus.d3d12_xs.dlletxgs12_pc_xs.dll; conserve une sortie du kit uniquement si elle correspond octet pour octet au résultat Windows, sinon conserve le résultat Windows.dxcompiler.dll, valide une copie des nouveaux shaders PC traduits et journalise les refus, sans modifier la sortie de VIctory.xg_xs.dllétait déjà prise en charge sur la branche de base.dxcompiler_xs.dll,xbsc_xs.dlletnewbe_xs.dllsont seulement chargées : ce changement ne les utilise pas pour traduire les shaders du jeu.Vérifications
cargo build --profile diag -p victory --features diagnostics.cargo test -p victory-gpu root::tests::host_serialized_blobs_create_root_signatures: 1 test réussi avec les DLL locales.cargo test -p victory-gpu shader_cache::tests: 3 tests réussis avec un shader Xbox synthétique compilé localement et validation pardxcompiler.dll.xgs12_pc_xs.dlla produit les mêmes 68 octets que Windows ;d3d12_xs.dlla renvoyéE_NOINTERFACE.Limites
Brouillon : les derniers branchements ne sont pas encore testés en jeu. Ils ne corrigent pas les instructions de shader manquantes et leur coût, leur compatibilité et leur stabilité sur d'autres versions des DLL sont inconnus. La validation supplémentaire peut ralentir la traduction. Une recompilation de VIctory change la clé du cache de shaders. La sonde de compilation synthétique est proposée séparément dans AnyXboxX Marvisak#192.