diff options
| author | DadaCap <167002618+DadaCap@users.noreply.github.com> | 2026-11-28 12:41:59 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-11-28 12:41:59 +0100 |
| commit | feaaa13a66528a6525ff6bc4f0d8a8bef6442e25 (patch) | |
| tree | 78245010e0f7bfb99dcef9b27f9ad021d2321cea /tools/feature_scan.py | |
| parent | 23ccf1486e16dcabe35a80d4cfe7346d3d1624a2 (diff) | |
| parent | 7c2de8a936897b2322caf574c991746dfe732b01 (diff) | |
Merge pull request #1423 from GTAVIB4GTAVI/feat/library-code-base-pairs
pso_code_base_pairs: count PSOs by code-base stage (SHADER-CODEBASE-PAIRS)
Diffstat (limited to 'tools/feature_scan.py')
| -rw-r--r-- | tools/feature_scan.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/feature_scan.py b/tools/feature_scan.py index 8045c9a9e..b1ef0d4a8 100644 --- a/tools/feature_scan.py +++ b/tools/feature_scan.py | |||
| @@ -14,8 +14,8 @@ Reads what the shaders stage of make_game.py leaves in <work>/shaders, and print | |||
| 14 | accesses (#16): the MTBUF instruction formats, and for MUBUF where V# word 3 (the format) comes from, each checked | 14 | accesses (#16): the MTBUF instruction formats, and for MUBUF where V# word 3 (the format) comes from, each checked |
| 15 | against the translator's typed-buffer table (rdna2spirv.Gen.FORMATS). | 15 | against the translator's typed-buffer table (rdna2spirv.Gen.FORMATS). |
| 16 | - spirv/index.json (rdna2spirv.py): uses_code_base per stage. A graphics PSO can only need two code bases | 16 | - spirv/index.json (rdna2spirv.py): uses_code_base per stage. A graphics PSO can only need two code bases |
| 17 | (§5.2) if two of its stages use one; this gives the per-stage counts. Which stages are paired in one PSO is in | 17 | (§5.2) if two of its stages use one; this gives the per-stage counts. Pairing programs to the stages of a PSO is |
| 18 | the executable, not in shaders.rpf. | 18 | the pipeline library's job: tools/pso_code_base_pairs.py joins the two and counts whole PSOs. |
| 19 | 19 | ||
| 20 | InnerCoverage metadata is cross-tabulated by stage: SFI0 set/clear/unknown versus ISG1 | 20 | InnerCoverage metadata is cross-tabulated by stage: SFI0 set/clear/unknown versus ISG1 |
| 21 | present/absent/unknown. Unknown includes missing or truncated parts; unreadable containers | 21 | present/absent/unknown. Unknown includes missing or truncated parts; unreadable containers |