shader: key vertex shaders on the resolved fetch, not the raw format word #2127

Closed
github-bot wants to merge 3 commits from gh-pr/2127/head into gh-pr/2127/base
Owner

@⁠Nawid3333 on GitHub · 2026-11-05 17:12 UTC · original
Nawid3333:shader/vertex-fetch-signature → main · +226 −39 · 9 files · 3 commits · closed without merging

Summary

ASTRO BOT (PPSA21564) translates many vertex shaders more than once. Kyty puts each embedded vertex fetch's raw format
word (resource.fields[3] & 0x7ffff, shader.cpp) into the vertex ProgramKey, so format words that fetch the same
values (for example 0x42fac and 0x4a3ac) produce separate Programs, and each is translated and compiled again. In an
ASTRO BOT run on upstream 23ed47ec6, 36 of the 38 new Programs for an already-seen shader hash were vertex shaders
whose keys differed only in these format words. This PR keys the vertex stage on what the fetch resolves to and
carries the exact host format in the graphics pipeline key instead.

Change

  • VertexFetchSignature (BufferFormat.h): the vertex ProgramKey stores the resolved fetch signature instead of the
    raw word: the scalar kind of the fetched value (float, uint or sint) plus the four resolved selectors. Formats without a
    component count (raw 113/121) and invalid selectors keep the raw word.
  • ResolveVertexFetchSource (BufferFormat.h): when the guest format has fewer than four channels and the selector
    asks for the constant Vulkan supplies for that missing channel (0 for components 1 and 2, 1 for component 3), the
    channel becomes a memory read. Vulkan converts a vertex attribute like an image read and fills missing G, B and A
    components with (0, 0, 1) (spec 28.4.1 "Vertex Input Extraction"), so the value is the same.
    TranslateEmbeddedFetch (Attribute.cpp) uses it.
  • Pipeline key: PipelineVertexInputState::Attribute (the key's vertex_input) gains vk::Format format;
    GetGraphicsPipeline fills it per attribute with InputFormat, and shaders.cpp builds the attribute descriptions
    from the key.
    ShaderModule::vertex_formats, VertexInputFormats and their serialization in IoModule are removed.

Tests

  • TestEmbeddedVertexFormatSwizzle (shaderCfgTests.cpp): 0x4022c, 0x1722c, 0x42fac and 0x4a3ac share one signature;
    words whose constants differ from Vulkan's defaults keep distinct signatures, and so do float, uint and sint fetches
    with the same selectors; raw formats 113 and 121 and invalid selectors keep the raw word. The expected fetch widths
    now include the missing channels that read the attribute, and the test data holds Vulkan's defaults there.
  • New GPU test CheckVertexFetchCache (ShaderRecompilerComputeTests.cpp): program and module reuse across the
    format words of one signature group, the fetch width, identical SPIR-V per group, the per-draw pipeline format,
    pipeline recreation when only the format changes, and the pipeline keys surviving a shader store reopen; formats
    the device cannot use as vertex buffers are skipped.
  • All 56 supported vertex format mappings keep their guest channel count and scalar category; a symbolic check of
    all 524,288 format words at fetch widths 1-4 found no value difference.
  • On upstream b4c0731fc (Windows 11, Radeon RX 9070 XT): the 32 tests CI runs pass; shader_cfg_tests and resource_tracking_tests pass; ShaderRecompilerComputeTests (the full run, with the cases this GPU lacks features for skipped, and separately the shader-cache, push-constant, shader-data-storage and program-id groups) shows no failure that the same build without this PR does not show too (two existing cases fail on both: GpuSelectedFormattedRgba16Store, IndirectImageQueryDimensions); the new VertexFetchCache case passes.
  • Fork CI (Nawid3333/KytyPS5 run 42064420815): the Windows, Linux and macOS builds and tests pass.
  • CheckVertexFetchCache creates and recreates Vulkan pipelines and reopens the shader store; it does not execute
    a draw or read back vertex-fetch results.
  • The test results above use upstream b4c0731fc and the game measurements use 23ed47ec6; a read-only review against 182161eb3 found nothing that invalidates them, but they were not rerun there.

In-game

ASTRO BOT (PPSA21564), Radeon RX 9070 XT, Windows 11, upstream 23ed47ec6 with and without this PR, same input
script, compared at the same point of the run (225 distinct shaders):

  • shader translations 306 -> 266; translations of an already-translated shader 81 (26%) -> 41 (15%);
  • SPIR-V words emitted 9.0 M -> 8.2 M;
  • new Programs for an already-seen hash over the whole run 38 -> 2 (left: 1 mesh, 1 compute shader);
  • screenshots at matching points of both runs show the same scenes rendered the same way; no fatal error in either run.
    Vulkan pipelines still differ per vertex format (the format is now part of the pipeline key), so this PR saves
    shader translations and SPIR-V modules, not pipeline creations.

#2119 (asynchronous shader compilation) moves the module's vertex_formats assignment into CompileStage. If both
are merged, that assignment goes away with this PR, and the per-draw InputFormat calculation moves into #2119's
MakeGraphicsPipelineKey.

AI use: written with AI assistance (Claude Code and OpenAI Codex): the change, the tests and the measurements;
reviewed, tested and run in the game by me.

🤖 Generated with Claude Code

**@⁠Nawid3333** on GitHub · 2026-11-05 17:12 UTC · [original](https://github.com/KytyPS5/KytyPS5/pull/2127) `Nawid3333:shader/vertex-fetch-signature` → `main` · +226 −39 · 9 files · 3 commits · closed without merging ## Summary ASTRO BOT (PPSA21564) translates many vertex shaders more than once. Kyty puts each embedded vertex fetch's raw format word (`resource.fields[3] & 0x7ffff`, shader.cpp) into the vertex ProgramKey, so format words that fetch the same values (for example 0x42fac and 0x4a3ac) produce separate Programs, and each is translated and compiled again. In an ASTRO BOT run on upstream 23ed47ec6, 36 of the 38 new Programs for an already-seen shader hash were vertex shaders whose keys differed only in these format words. This PR keys the vertex stage on what the fetch resolves to and carries the exact host format in the graphics pipeline key instead. ## Change - `VertexFetchSignature` (BufferFormat.h): the vertex ProgramKey stores the resolved fetch signature instead of the raw word: the scalar kind of the fetched value (float, uint or sint) plus the four resolved selectors. Formats without a component count (raw 113/121) and invalid selectors keep the raw word. - `ResolveVertexFetchSource` (BufferFormat.h): when the guest format has fewer than four channels and the selector asks for the constant Vulkan supplies for that missing channel (0 for components 1 and 2, 1 for component 3), the channel becomes a memory read. Vulkan converts a vertex attribute like an image read and fills missing G, B and A components with (0, 0, 1) (spec 28.4.1 "Vertex Input Extraction"), so the value is the same. `TranslateEmbeddedFetch` (Attribute.cpp) uses it. - Pipeline key: `PipelineVertexInputState::Attribute` (the key's `vertex_input`) gains `vk::Format format`; `GetGraphicsPipeline` fills it per attribute with `InputFormat`, and shaders.cpp builds the attribute descriptions from the key. `ShaderModule::vertex_formats`, `VertexInputFormats` and their serialization in `IoModule` are removed. ## Tests - `TestEmbeddedVertexFormatSwizzle` (shaderCfgTests.cpp): 0x4022c, 0x1722c, 0x42fac and 0x4a3ac share one signature; words whose constants differ from Vulkan's defaults keep distinct signatures, and so do float, uint and sint fetches with the same selectors; raw formats 113 and 121 and invalid selectors keep the raw word. The expected fetch widths now include the missing channels that read the attribute, and the test data holds Vulkan's defaults there. - New GPU test `CheckVertexFetchCache` (ShaderRecompilerComputeTests.cpp): program and module reuse across the format words of one signature group, the fetch width, identical SPIR-V per group, the per-draw pipeline format, pipeline recreation when only the format changes, and the pipeline keys surviving a shader store reopen; formats the device cannot use as vertex buffers are skipped. - All 56 supported vertex format mappings keep their guest channel count and scalar category; a symbolic check of all 524,288 format words at fetch widths 1-4 found no value difference. - On upstream b4c0731fc (Windows 11, Radeon RX 9070 XT): the 32 tests CI runs pass; shader_cfg_tests and resource_tracking_tests pass; ShaderRecompilerComputeTests (the full run, with the cases this GPU lacks features for skipped, and separately the shader-cache, push-constant, shader-data-storage and program-id groups) shows no failure that the same build without this PR does not show too (two existing cases fail on both: GpuSelectedFormattedRgba16Store, IndirectImageQueryDimensions); the new VertexFetchCache case passes. - Fork CI (Nawid3333/KytyPS5 run 42064420815): the Windows, Linux and macOS builds and tests pass. - `CheckVertexFetchCache` creates and recreates Vulkan pipelines and reopens the shader store; it does not execute a draw or read back vertex-fetch results. - The test results above use upstream b4c0731fc and the game measurements use 23ed47ec6; a read-only review against 182161eb3 found nothing that invalidates them, but they were not rerun there. ## In-game ASTRO BOT (PPSA21564), Radeon RX 9070 XT, Windows 11, upstream 23ed47ec6 with and without this PR, same input script, compared at the same point of the run (225 distinct shaders): - shader translations 306 -> 266; translations of an already-translated shader 81 (26%) -> 41 (15%); - SPIR-V words emitted 9.0 M -> 8.2 M; - new Programs for an already-seen hash over the whole run 38 -> 2 (left: 1 mesh, 1 compute shader); - screenshots at matching points of both runs show the same scenes rendered the same way; no fatal error in either run. Vulkan pipelines still differ per vertex format (the format is now part of the pipeline key), so this PR saves shader translations and SPIR-V modules, not pipeline creations. #2119 (asynchronous shader compilation) moves the module's `vertex_formats` assignment into `CompileStage`. If both are merged, that assignment goes away with this PR, and the per-draw `InputFormat` calculation moves into #2119's `MakeGraphicsPipelineKey`. AI use: written with AI assistance (Claude Code and OpenAI Codex): the change, the tests and the measurements; reviewed, tested and run in the game by me. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
The vertex ProgramKey held each embedded fetch's raw format word, so words that fetch
the same values (e.g. 0x42fac and 0x4a3ac) made separate Programs and recompiles.
Key on the resolved fetch signature instead (scalar kind + resolved selectors, with
Vulkan's default constants for missing channels read from the attribute), and carry
the exact host format in the pipeline key's vertex input attributes.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
# Conflicts:
#	tests/ShaderRecompilerComputeTests.cpp
Co-Authored-By: Claude Opus 5.5 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 10:15:12 +00:00
github-bot closed this pull request 2026-11-26 10:15:12 +00:00
Author
Owner

@⁠coderabbitai[bot] on GitHub · 2026-11-05 17:27 UTC · original · edited 2026-11-09 15:52 UTC

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

Vertex-fetch translation now resolves sources using the format and component index, and vertex-stage static keys use format-aware fetch signatures. Graphics-pipeline attributes now store their Vulkan formats. Shader modules no longer store or serialize a separate vertex-format vector. Tests cover fetch signatures, pipeline format selection, cache reuse, recreation, and persisted keys.

Suggested reviewers: nmzik

Change: Refactor

Merge Risk: Minimal · up to 261d6

The change reduces duplicate vertex shader translations by keying on the resolved fetch signature, and the pipeline formats come from the pipeline key. No actionable merge-blocking risk was identified in the supplied context.

Pre-merge checks: Passed 4 · Inconclusive 1

Failed Failed checks: 1 inconclusive

Check name Status Explanation Resolution
Docstring Coverage Inconclusive Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat… Write docstrings for the functions missing them to satisfy the coverage threshold.
Passed Passed checks: 4 passed

Check name Status Explanation
Title check Passed The title names the main change: vertex shader program keys now use the resolved vertex fetch signature instead of the raw format word. The raw-summary confirms this change in shader.cpp (VertexFetchS…
Description check Passed The description is detailed and on-topic. It explains the duplicate vertex Program problem, the new VertexFetchSignature and ResolveVertexFetchSource functions, the vk::Format addition to PipelineVert…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the main change: vertex shader program keys now use the resolved vertex fetch signature instead of the raw format word. The raw-summary confirms this change in shader.cpp (VertexFetchSignature replaces the masked fields[3] word) and in BufferFormat.h. The title is specific and matches the primary objective in the PR objectives.

Full details: Description check

Explanation

The description is detailed and on-topic. It explains the duplicate vertex Program problem, the new VertexFetchSignature and ResolveVertexFetchSource functions, the vk::Format addition to PipelineVertexInputState::Attribute, the removal of vertex_formats and IoModule serialization, the new tests, and the in-game measurements. These match the file-level summaries.

Full details: Docstring Coverage

Explanation

Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 2 functions across 1 files. (1 skipped: 1 too large.)

Resolution

Write docstrings for the functions missing them to satisfy the coverage threshold.

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between e762dbc310 and 261d68a0a3.

Files selected for processing: 2

  • src/graphics/host_gpu/renderer/pipeline/pipelineCache.cpp
  • tests/ShaderRecompilerComputeTests.cpp

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 5 remain after this review.

**@⁠coderabbitai[bot]** on GitHub · 2026-11-05 17:27 UTC · [original](https://github.com/KytyPS5/KytyPS5/pull/2127#issuecomment-6664657762) · edited 2026-11-09 15:52 UTC <!-- coderabbit-ai-generated:v1 --> <!-- This is an auto-generated comment: summarize by coderabbit.ai --> <!-- review_stack_entry_start --> <a href="https://app.coderabbit.ai/change-stack/KytyPS5/KytyPS5/pull/2127?scope=ghh_OusAJGA4HG8ljoOV0wJvVx8NmnZIjc2DdjmxOu0xZWA&amp;cs_source=review_comment"><picture><source media="(prefers-color-scheme: dark)" srcset="https://storage.googleapis.com/coderabbit_public_assets/review-stack-buttons-v1/explain-change-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://storage.googleapis.com/coderabbit_public_assets/review-stack-buttons-v1/explain-change.svg"><img src="https://storage.googleapis.com/coderabbit_public_assets/review-stack-buttons-v1/explain-change.svg" alt="Explain Change →" height="32"></picture></a> <!-- review_stack_entry_end --> <!-- recent_review_status_start --> No actionable comments were generated in the recent review. <!-- recent_review_status_end --> <!-- walkthrough_start --> <details> <summary><strong>Walkthrough</strong></summary> <dl> <dd> <br> Vertex-fetch translation now resolves sources using the format and component index, and vertex-stage static keys use format-aware fetch signatures. Graphics-pipeline attributes now store their Vulkan formats. Shader modules no longer store or serialize a separate vertex-format vector. Tests cover fetch signatures, pipeline format selection, cache reuse, recreation, and persisted keys. **Suggested reviewers:** `nmzik` </dd> </dl> </details> <!-- walkthrough_end --> <!-- change_assessment_start --> <!-- change_assessment_commit:"261d68a0a35dc23b760442ea42c37fd180a9ee19" --> <!-- change_assessment_priority:{"version":1,"urgency":"p3","manual":false} --> **Change:** Refactor <!-- change_assessment_end --> <details> <summary><strong>Merge Risk:</strong> <strong><picture><img src="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/risk-unassessed-16.svg" width="16" height="16" align="absmiddle" alt=""></picture> Minimal</strong> · up to <code>261d6</code></summary> <dl> <dd> <br> <!-- final_review_risk_start --> <!-- final_review_risk_label **Merge Risk:** **⚪ Minimal** · up to `261d6` --> <!-- final_review_risk_coverage:{"sourceCommitId":"261d68a0a35dc23b760442ea42c37fd180a9ee19","coveredCommitId":"261d68a0a35dc23b760442ea42c37fd180a9ee19","kind":"reviewed"} --> The change reduces duplicate vertex shader translations by keying on the resolved fetch signature, and the pipeline formats come from the pipeline key. No actionable merge-blocking risk was identified in the supplied context. <!-- final_review_risk_end --> </dd> </dl> </details> <!-- pre_merge_checks_walkthrough_start --> <details> <summary><strong>Pre-merge checks: <sup><picture><img src="https://storage.googleapis.com/coderabbit_public_assets/pre-merge-checks-counter-passed-14-v2.svg" width="14" height="14" align="middle" alt="Passed" title="Passed"></picture></sup> 4 · <sup><picture><img src="https://storage.googleapis.com/coderabbit_public_assets/pre-merge-checks-counter-inconclusive-14-v2.svg" width="14" height="14" align="middle" alt="Inconclusive" title="Inconclusive"></picture></sup> 1</strong></summary> <dl> <dd> <br> <strong><sup><picture><img src="https://storage.googleapis.com/coderabbit_public_assets/pre-merge-checks-counter-failed-14-v2.svg" width="14" height="14" align="middle" alt="Failed" title="Failed"></picture></sup> Failed checks: 1 inconclusive</strong> | Check name | Status | Explanation | Resolution | | :---------------- | :--------------------------------------------------------------------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :--------------------------------------------------------------------------------- | | Docstring Coverage | ![Inconclusive](https://storage.googleapis.com/coderabbit_public_assets/pre-merge-checks-inconclusive.svg) | Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat… | Write docstrings for the functions missing them to satisfy the coverage threshold. | <details> <summary><strong><sup><picture><img src="https://storage.googleapis.com/coderabbit_public_assets/pre-merge-checks-counter-passed-14-v2.svg" width="14" height="14" align="middle" alt="Passed" title="Passed"></picture></sup> Passed checks: 4 passed</strong></summary> <dl> <dd> <br> | Check name | Status | Explanation | | :------------------------ | :--------------------------------------------------------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | Title check | ![Passed](https://storage.googleapis.com/coderabbit_public_assets/pre-merge-checks-passed.svg) | The title names the main change: vertex shader program keys now use the resolved vertex fetch signature instead of the raw format word. The raw-summary confirms this change in shader.cpp (VertexFetchS… | | Description check | ![Passed](https://storage.googleapis.com/coderabbit_public_assets/pre-merge-checks-passed.svg) | The description is detailed and on-topic. It explains the duplicate vertex Program problem, the new VertexFetchSignature and ResolveVertexFetchSource functions, the vk::Format addition to PipelineVert… | | Linked Issues check | ![Passed](https://storage.googleapis.com/coderabbit_public_assets/pre-merge-checks-passed.svg) | Check skipped because no linked issues were found for this pull request. | | Out of Scope Changes check | ![Passed](https://storage.googleapis.com/coderabbit_public_assets/pre-merge-checks-passed.svg) | Check skipped because no linked issues were found for this pull request. | <details> <summary><strong>Full details: Title check</strong></summary> <dl> <dd> <br> **Explanation** The title names the main change: vertex shader program keys now use the resolved vertex fetch signature instead of the raw format word. The raw-summary confirms this change in shader.cpp (VertexFetchSignature replaces the masked fields[3] word) and in BufferFormat.h. The title is specific and matches the primary objective in the PR objectives. </dd> </dl> </details> <details> <summary><strong>Full details: Description check</strong></summary> <dl> <dd> <br> **Explanation** The description is detailed and on-topic. It explains the duplicate vertex Program problem, the new VertexFetchSignature and ResolveVertexFetchSource functions, the vk::Format addition to PipelineVertexInputState::Attribute, the removal of vertex_formats and IoModule serialization, the new tests, and the in-game measurements. These match the file-level summaries. </dd> </dl> </details> </dd> </dl> </details> <details> <summary><strong>Full details: Docstring Coverage</strong></summary> <dl> <dd> <br> **Explanation** Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 2 functions across 1 files. (1 skipped: 1 too large.) **Resolution** Write docstrings for the functions missing them to satisfy the coverage threshold. </dd> </dl> </details> </dd> </dl> </details> <!-- pre_merge_checks_walkthrough_end --> <!-- tips_start --> Thanks for using [CodeRabbit](https://coderabbit.ai?utm_source=oss&utm_medium=github&utm_campaign=KytyPS5/KytyPS5&utm_content=2127)! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. <details> <summary><strong>Share</strong></summary> <dl> <dd> <br> - [X](https://twitter.com/intent/tweet?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A&url=https%3A//coderabbit.ai) - [Mastodon](https://mastodon.social/share?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A%20https%3A%2F%2Fcoderabbit.ai) - [Reddit](https://www.reddit.com/submit?title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&text=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code.%20Check%20it%20out%3A%20https%3A//coderabbit.ai) - [LinkedIn](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fcoderabbit.ai&mini=true&title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&summary=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code) </dd> </dl> </details> <!-- tips_end --> <!-- recent_review_start --> <h6> <details> <summary><strong><picture><img src="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/info.svg" width="12" height="12" align="absmiddle" alt=""></picture> Recent review info</strong></summary> <dl> <dd> <br> <!-- review_info_content --> <details> <summary><strong><picture><source media="(prefers-color-scheme: dark)" srcset="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/cog-dark.svg"><img src="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/cog.svg" width="16" height="16" align="absmiddle" alt=""></picture> Run configuration</strong></summary> <dl> <dd> <br> - **Source mode**: Auto - **Repository**: [KytyPS5/KytyPS5](<https://github.com/KytyPS5/KytyPS5>) - **Branch**: [main](<https://github.com/KytyPS5/KytyPS5/tree/main>) - **File**: [.coderabbit.yaml](<https://github.com/KytyPS5/KytyPS5/blob/f399d481839722e6153d2ca190b7f669a7a40a6e/.coderabbit.yaml>) - **Commit**: [f399d48](<https://github.com/KytyPS5/KytyPS5/commit/f399d481839722e6153d2ca190b7f669a7a40a6e>) - **Layers**: Repository YAML - **Review profile**: CHILL - **Plan**: Advanced - **Run ID**: `f06fbc32-9cc0-45aa-a604-a6f70e5d0b6c` </dd> </dl> </details> <details> <summary><strong><picture><source media="(prefers-color-scheme: dark)" srcset="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/git-commit-horizontal-dark.svg"><img src="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/git-commit-horizontal.svg" width="16" height="16" align="absmiddle" alt=""></picture> Commits</strong></summary> <dl> <dd> <br> Reviewing files that changed from the base of the PR and between e762dbc3109db2d9455a760167f8db3ac53afda0 and 261d68a0a35dc23b760442ea42c37fd180a9ee19. </dd> </dl> </details> <details> <summary><strong><picture><source media="(prefers-color-scheme: dark)" srcset="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/file-plus-corner-dark.svg"><img src="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/file-plus-corner.svg" width="16" height="16" align="absmiddle" alt=""></picture> Files selected for processing: 2</strong></summary> <dl> <dd> <br> * `src/graphics/host_gpu/renderer/pipeline/pipelineCache.cpp` * `tests/ShaderRecompilerComputeTests.cpp` </dd> </dl> </details> **Included review availability:** This review used your included allowance. Your plan provides up to 10 included reviews per hour; 5 remain after this review. </dd> </dl> </details> </h6> <!-- recent_review_end -->
Author
Owner

@⁠Nawid3333 on GitHub · 2026-11-21 14:51 UTC · original

Superseded by 2888ad28a ("shader: move vertex fetch formats from the vertex shader key into the pipeline key"): the vertex key now holds the swizzle, channel count and type class instead of the raw format word, and the pipeline key holds the format, which is the main change of this PR. Closing this one.

**@⁠Nawid3333** on GitHub · 2026-11-21 14:51 UTC · [original](https://github.com/KytyPS5/KytyPS5/pull/2127#issuecomment-7064429441) Superseded by 2888ad28a ("shader: move vertex fetch formats from the vertex shader key into the pipeline key"): the vertex key now holds the swizzle, channel count and type class instead of the raw format word, and the pipeline key holds the format, which is the main change of this PR. Closing this one.

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No description provided.