fix(shader): bound SPIR-V scalar replacement #4288

Merged
014-code merged 1 commit from upstream-pr/4288 into main 2026-10-17 07:35:30 +00:00
014-code commented 2026-10-12 04:50:05 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by 014-code on 2026-10-12T04:50:05Z.


What

CreateScalarReplacementPass(0) treats zero as unlimited. The default AnyPS5 SPIR-V pipeline registered that pass twice, allowing large function-scope arrays and nested composites to expand into an unbounded number of replacement variables while shaders were being optimized. This can cause excessive temporary IR growth during shader compilation.

This changes both AnyPS5 registrations to a shared ScalarReplacementLimit of 64. Smaller composites keep the existing scalar-replacement optimization; larger composites remain aggregate values instead of being expanded without a bound. 64 is a conservative power-of-two ceiling that preserves useful optimization for small composites while placing a predictable upper bound on per-composite expansion. It is an engineering guardrail, not a title-specific tuning result.

The optimizer test now covers a valid 1,000-element function array passed through branching and a memory barrier. It validates the optimized result and bounds the resulting module size, so removing the limit regresses the test without requiring a GPU or a title dump.

This PR does not claim that scalar replacement is the root cause of #4166: no isolated title-level memory A/B measurement is available here. Accordingly, #4166 remains open.

Tested

Ubuntu 24.04 under WSL2, Release build, bundled SPIRV-Tools enabled:

  • Configured with cmake -S . -B build-wsl-4288 -G Ninja -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=ON -DANYPS5_ENABLE_SPIRV_TOOLS=ON.
  • Built agc_spirv_optimizer_tests.
  • ctest --test-dir build-wsl-4288 -R '^agc_spirv_optimizer$' --output-on-failure: passed (1/1).
  • Ran agc_spirv_optimizer_tests with the default optimizer, APS5_SPIRV_OPT=none, and APS5_SPIRV_OPT=full: all passed.
  • python tools/check_conventions.py --base d92a8dad390af1807cc91622b924252141816a5a --head HEAD --title 'fix(shader): bound SPIR-V scalar replacement': run against the updated PR body.
  • git diff --check d92a8dad390af1807cc91622b924252141816a5a..HEAD: passed.

No RTX 3080 or Demon’s Souls run was available here. The regression is exercised at the CPU-side optimizer boundary; no title-level memory improvement is claimed.

Checklist

  • Based on current main; no other open PR implements the scalar-replacement limit
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt (n/a)
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source (n/a)
  • Generic behaviour, not specific to one title
  • Depends on: none
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4825061424 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/4288). Originally posted by [014-code](https://github.com/014-code) on 2026-10-12T04:50:05Z. --- ### What `CreateScalarReplacementPass(0)` treats zero as unlimited. The default AnyPS5 SPIR-V pipeline registered that pass twice, allowing large function-scope arrays and nested composites to expand into an unbounded number of replacement variables while shaders were being optimized. This can cause excessive temporary IR growth during shader compilation. This changes both AnyPS5 registrations to a shared `ScalarReplacementLimit` of 64. Smaller composites keep the existing scalar-replacement optimization; larger composites remain aggregate values instead of being expanded without a bound. `64` is a conservative power-of-two ceiling that preserves useful optimization for small composites while placing a predictable upper bound on per-composite expansion. It is an engineering guardrail, not a title-specific tuning result. The optimizer test now covers a valid 1,000-element function array passed through branching and a memory barrier. It validates the optimized result and bounds the resulting module size, so removing the limit regresses the test without requiring a GPU or a title dump. This PR does not claim that scalar replacement is the root cause of #4166: no isolated title-level memory A/B measurement is available here. Accordingly, #4166 remains open. ### Tested Ubuntu 24.04 under WSL2, Release build, bundled SPIRV-Tools enabled: - Configured with `cmake -S . -B build-wsl-4288 -G Ninja -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=ON -DANYPS5_ENABLE_SPIRV_TOOLS=ON`. - Built `agc_spirv_optimizer_tests`. - `ctest --test-dir build-wsl-4288 -R '^agc_spirv_optimizer$' --output-on-failure`: passed (1/1). - Ran `agc_spirv_optimizer_tests` with the default optimizer, `APS5_SPIRV_OPT=none`, and `APS5_SPIRV_OPT=full`: all passed. - `python tools/check_conventions.py --base d92a8dad390af1807cc91622b924252141816a5a --head HEAD --title 'fix(shader): bound SPIR-V scalar replacement'`: run against the updated PR body. - `git diff --check d92a8dad390af1807cc91622b924252141816a5a..HEAD`: passed. No RTX 3080 or Demon’s Souls run was available here. The regression is exercised at the CPU-side optimizer boundary; no title-level memory improvement is claimed. ### Checklist - [x] Based on current `main`; no other open PR implements the scalar-replacement limit - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed in [TechnicalDebt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/TechnicalDebt.md#silent-stubs) (n/a) - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source (n/a) - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] AI-assisted: yes
Mouhand-Kaddo commented 2026-10-12 09:34:45 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Mouhand-Kaddo on 2026-10-12T09:34:45Z.


Tested the patch at 6589b8d1a9979514c546f4b87dbbd5b1c00538f8 on Linux, rebased locally onto public main c36fd0a0eb57c01866befd370c88329ca42df759, with SPIRV-Tools enabled.

Applying only the new regression test to main gives:

large function array was scalarized
1 optimizer check(s) failed

After applying the production change, agc_spirv_optimizer_tests passes with the default optimizer, APS5_SPIRV_OPT=full, and APS5_SPIRV_OPT=none. The combined candidate build's registered agc_spirv_optimizer test also passes.

I am investigating Demon's Souls on an i7-13700K / RX 6900 XT, RADV Mesa 26.2.4. Main previously approached exhaustion of 31 GiB RAM and 8 GiB swap during startup, but I have not yet established a title-level memory improvement or main-menu success from this patch. Separate descriptor-table failures are currently being investigated before another game launch.

Testing performed with AI assistance.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6121595543 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/4288#issuecomment-6121595543). Originally posted by [Mouhand-Kaddo](https://github.com/Mouhand-Kaddo) on 2026-10-12T09:34:45Z. --- Tested the patch at `6589b8d1a9979514c546f4b87dbbd5b1c00538f8` on Linux, rebased locally onto public main `c36fd0a0eb57c01866befd370c88329ca42df759`, with SPIRV-Tools enabled. Applying only the new regression test to main gives: ```text large function array was scalarized 1 optimizer check(s) failed ``` After applying the production change, `agc_spirv_optimizer_tests` passes with the default optimizer, `APS5_SPIRV_OPT=full`, and `APS5_SPIRV_OPT=none`. The combined candidate build's registered `agc_spirv_optimizer` test also passes. I am investigating Demon's Souls on an i7-13700K / RX 6900 XT, RADV Mesa 26.2.4. Main previously approached exhaustion of 31 GiB RAM and 8 GiB swap during startup, but I have not yet established a title-level memory improvement or main-menu success from this patch. Separate descriptor-table failures are currently being investigated before another game launch. Testing performed with AI assistance.
Mouhand-Kaddo commented 2026-10-12 12:20:53 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Mouhand-Kaddo on 2026-10-12T12:20:53Z.


Linux follow-up for the tested head 6589b8d1a9979514c546f4b87dbbd5b1c00538f8. Demon's Souls (PPSA01342) reached the main menu, with New Game and Settings visible in a native emulator frame and interaction confirmed by the user. Selecting New Game then produced a black screen; gameplay is not validated.

This was a combined integration stack: public-main snapshot c36fd0a0eb57c01866befd370c88329ca42df759, ported #757/#758, #4288, #3991, #4402, the descriptor-layout fix now in #4456, and a local split-descriptor-load correction. It is not an isolated success claim for this PR. The final menu run used GDB to investigate an earlier buffer descriptor uses an unsupported type abort. That earlier failure remains undiagnosed.

The earlier failing-main/passing-fix scalar-replacement regression remains the isolated evidence for this PR. The title result below is a combined-stack result.

Reproduction detail: the title run temporarily raised Linux udmabuf size_limit_mb from 64 to 2048 because larger GPU imports failed at the default limit. The user restored 64 afterward and readback confirmed it. Default shader optimization remained enabled. RX 6900 XT/RADV was receiving GPU work; CPU shader compilation was a major startup bottleneck. Game assets were accessed through an enforced read-only view of the Windows gaming drive, without copying the game or changing its inputs. Disposable test caches have now been removed. AI-assisted testing/report.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6124153513 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/4288#issuecomment-6124153513). Originally posted by [Mouhand-Kaddo](https://github.com/Mouhand-Kaddo) on 2026-10-12T12:20:53Z. --- Linux follow-up for the tested head `6589b8d1a9979514c546f4b87dbbd5b1c00538f8`. Demon's Souls (PPSA01342) reached the main menu, with New Game and Settings visible in a native emulator frame and interaction confirmed by the user. Selecting New Game then produced a black screen; gameplay is not validated. This was a combined integration stack: public-main snapshot `c36fd0a0eb57c01866befd370c88329ca42df759`, ported #757/#758, #4288, #3991, #4402, the descriptor-layout fix now in #4456, and a local split-descriptor-load correction. It is not an isolated success claim for this PR. The final menu run used GDB to investigate an earlier `buffer descriptor uses an unsupported type` abort. That earlier failure remains undiagnosed. The earlier failing-main/passing-fix scalar-replacement regression remains the isolated evidence for this PR. The title result below is a combined-stack result. Reproduction detail: the title run temporarily raised Linux `udmabuf` `size_limit_mb` from 64 to 2048 because larger GPU imports failed at the default limit. The user restored 64 afterward and readback confirmed it. Default shader optimization remained enabled. RX 6900 XT/RADV was receiving GPU work; CPU shader compilation was a major startup bottleneck. Game assets were accessed through an enforced read-only view of the Windows gaming drive, without copying the game or changing its inputs. Disposable test caches have now been removed. AI-assisted testing/report.
Mouhand-Kaddo commented 2026-10-12 21:23:04 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Mouhand-Kaddo on 2026-10-12T21:23:04Z.


Retest on Linux using updated #4456 head 4f5f6d671cdb0ffd3a9c43eedbdf03e433e80ebe as the integration base. Its six focused PR checks pass three times each; the previous null-shader-module mock failure is reproduced on its parent and fixed on this head.

The title support stack remains #757/#758/#4288/#3991/#4402 plus the local grouped split-load correction. Five integration shader/graphics checks pass. Demon's Souls PPSA01342 rendered language/display settings and the online/offline prompt, then aborted with exit 134:

[videoout] presentation failed: compute shader 0x2489fbb00: runtime image descriptor is invalid

This run did not verify main menu. The earlier c36-based integration did reach it. I have not isolated which rebased-stack change causes the descriptor failure, so this is not a regression attribution to this PR. No memory guard/OOM event stopped the run. One brief debugger snapshot was taken during startup, then detached.

The temporary Linux udmabuf limit was again 2048 MiB for the title run and is now verified back at 64. Assets were read directly through an enforced read-only view of the Windows gaming drive, without copying the game. Original input hashes and timestamps are unchanged. AI-assisted testing/report.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6132858648 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/4288#issuecomment-6132858648). Originally posted by [Mouhand-Kaddo](https://github.com/Mouhand-Kaddo) on 2026-10-12T21:23:04Z. --- Retest on Linux using updated #4456 head `4f5f6d671cdb0ffd3a9c43eedbdf03e433e80ebe` as the integration base. Its six focused PR checks pass three times each; the previous null-shader-module mock failure is reproduced on its parent and fixed on this head. The title support stack remains #757/#758/#4288/#3991/#4402 plus the local grouped split-load correction. Five integration shader/graphics checks pass. Demon's Souls PPSA01342 rendered language/display settings and the online/offline prompt, then aborted with exit 134: ```text [videoout] presentation failed: compute shader 0x2489fbb00: runtime image descriptor is invalid ``` This run did not verify main menu. The earlier c36-based integration did reach it. I have not isolated which rebased-stack change causes the descriptor failure, so this is not a regression attribution to this PR. No memory guard/OOM event stopped the run. One brief debugger snapshot was taken during startup, then detached. The temporary Linux udmabuf limit was again 2048 MiB for the title run and is now verified back at 64. Assets were read directly through an enforced read-only view of the Windows gaming drive, without copying the game. Original input hashes and timestamps are unchanged. AI-assisted testing/report.
oneandonlydean commented 2026-10-13 00:19:09 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-13T00:19:09Z.


Is there a measurement that scalar replacement is what grows memory in #4166? Mouhand-Kaddo's runs show the new test failing on main, but no title memory with and without the limit, so Fixes #4166 is still a guess. Please show the issue's memory table with and without the limit, or drop the Fixes line so the issue stays open. And why 64?

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6135163348 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/4288#issuecomment-6135163348). Originally posted by [oneandonlydean](https://github.com/oneandonlydean) on 2026-10-13T00:19:09Z. --- Is there a measurement that scalar replacement is what grows memory in #4166? Mouhand-Kaddo's runs show the new test failing on main, but no title memory with and without the limit, so `Fixes #4166` is still a guess. Please show the issue's memory table with and without the limit, or drop the `Fixes` line so the issue stays open. And why 64?
oneandonlydean commented 2026-10-13 05:21:12 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-13T05:21:12Z.


Needs a rebase: #4580 and #4600 are merged and this now conflicts with them in core/libs/prx/libSceAgcDriver/tests/SpirvOptimizer.cpp.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6138841832 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/4288#issuecomment-6138841832). Originally posted by [oneandonlydean](https://github.com/oneandonlydean) on 2026-10-13T05:21:12Z. --- Needs a rebase: #4580 and #4600 are merged and this now conflicts with them in `core/libs/prx/libSceAgcDriver/tests/SpirvOptimizer.cpp`.
oneandonlydean commented 2026-10-14 21:33:03 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-14T21:33:03Z.


The 10-13 questions are still open: is there a measurement that scalar replacement is what grows memory in #4166 (the issue's memory table with and without the limit), or else please drop the Fixes #4166 line; and why 64? It also still needs the rebase for tests/SpirvOptimizer.cpp after #4580 and #4600.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6178977654 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/4288#issuecomment-6178977654). Originally posted by [oneandonlydean](https://github.com/oneandonlydean) on 2026-10-14T21:33:03Z. --- The 10-13 questions are still open: is there a measurement that scalar replacement is what grows memory in #4166 (the issue's memory table with and without the limit), or else please drop the `Fixes #4166` line; and why 64? It also still needs the rebase for `tests/SpirvOptimizer.cpp` after #4580 and #4600.
014-code commented 2026-10-15 07:01:09 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by 014-code on 2026-10-15T07:01:09Z.


Pushed an updated revision at 6a880abf2866ca025ff167deb2b023e0eaf83277 and rebased the PR onto current main (d92a8dad390af1807cc91622b924252141816a5a).

Addressed the review points:

  • Resolved the SpirvOptimizer.cpp test conflict introduced by #4580 and #4600.
  • Removed Fixes #4166. I do not have an isolated title-level memory A/B measurement proving that scalar replacement is the root cause of #4166, so that issue remains open.
  • Explained the choice of 64 in the PR description: it is a conservative power-of-two ceiling that keeps scalar replacement for small composites while bounding per-composite expansion. It is a generic engineering guardrail, not title-specific tuning.
  • Kept the regression generic and GPU-independent: a valid 1,000-element function array flows through branching and a memory barrier, and the test validates SPIR-V plus a module-size bound.

Validation on Ubuntu 24.04 under WSL2 with bundled SPIRV-Tools enabled:

  • Release CMake configure completed.
  • agc_spirv_optimizer_tests built successfully.
  • Registered CTest agc_spirv_optimizer: passed (1/1).
  • Direct optimizer test passed with the default mode, APS5_SPIRV_OPT=none, and APS5_SPIRV_OPT=full.
  • git diff --check passed.

No RTX 3080 or Demon’s Souls run was performed, and no title-level memory improvement is claimed.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6186436823 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/4288#issuecomment-6186436823). Originally posted by [014-code](https://github.com/014-code) on 2026-10-15T07:01:09Z. --- Pushed an updated revision at `6a880abf2866ca025ff167deb2b023e0eaf83277` and rebased the PR onto current `main` (`d92a8dad390af1807cc91622b924252141816a5a`). Addressed the review points: - Resolved the `SpirvOptimizer.cpp` test conflict introduced by #4580 and #4600. - Removed `Fixes #4166`. I do not have an isolated title-level memory A/B measurement proving that scalar replacement is the root cause of #4166, so that issue remains open. - Explained the choice of 64 in the PR description: it is a conservative power-of-two ceiling that keeps scalar replacement for small composites while bounding per-composite expansion. It is a generic engineering guardrail, not title-specific tuning. - Kept the regression generic and GPU-independent: a valid 1,000-element function array flows through branching and a memory barrier, and the test validates SPIR-V plus a module-size bound. Validation on Ubuntu 24.04 under WSL2 with bundled SPIRV-Tools enabled: - Release CMake configure completed. - `agc_spirv_optimizer_tests` built successfully. - Registered CTest `agc_spirv_optimizer`: passed (1/1). - Direct optimizer test passed with the default mode, `APS5_SPIRV_OPT=none`, and `APS5_SPIRV_OPT=full`. - `git diff --check` passed. No RTX 3080 or Demon’s Souls run was performed, and no title-level memory improvement is claimed.
github-actions[bot] commented 2026-10-15 07:32:59 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-15T07:32:59Z.


Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.

Pull request Conflicting files (lines on main) Same exports Same new files
PR 6176 core/libs/prx/libSceAgcDriver/tests/SpirvOptimizer.cpp L293
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6186948732 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/4288#issuecomment-6186948732). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-15T07:32:59Z. --- <!-- pr-overlap --> Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in **Depends on**. | Pull request | Conflicting files (lines on `main`) | Same exports | Same new files | |---|---|---|---| | [PR 6176](https://www.github.com/boykopovar/AnyPS5/pull/6176) | `core/libs/prx/libSceAgcDriver/tests/SpirvOptimizer.cpp` [L293](https://github.com/boykopovar/AnyPS5/blob/93e54cedd3dd49eabf1c589f020b54758e0b6461/core/libs/prx/libSceAgcDriver/tests/SpirvOptimizer.cpp#L293) | | |
014-code commented 2026-10-15 07:54:21 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by 014-code on 2026-10-15T07:54:21Z.


Thanks for flagging this. This is an insertion-point overlap in core/libs/prx/libSceAgcDriver/tests/SpirvOptimizer.cpp, not a functional dependency or duplicate implementation.

  • #4288 bounds SPIR-V scalar replacement and adds the large function-array regression test.
  • #6176 adds integer-folding/constant-sharing coverage and changes separate optimizer functionality.

The two PRs are independent, so Depends on remains none. If both are merged, the conflict can be resolved by retaining both test blocks and their respective calls; no production-code conflict is expected.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6187295913 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/4288#issuecomment-6187295913). Originally posted by [014-code](https://github.com/014-code) on 2026-10-15T07:54:21Z. --- Thanks for flagging this. This is an insertion-point overlap in `core/libs/prx/libSceAgcDriver/tests/SpirvOptimizer.cpp`, not a functional dependency or duplicate implementation. - #4288 bounds SPIR-V scalar replacement and adds the large function-array regression test. - #6176 adds integer-folding/constant-sharing coverage and changes separate optimizer functionality. The two PRs are independent, so `Depends on` remains `none`. If both are merged, the conflict can be resolved by retaining both test blocks and their respective calls; no production-code conflict is expected.
oneandonlydean commented 2026-10-17 00:41:24 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-17T00:41:24Z.


That answers 10-13 and 10-14: Fixes #4166 is gone, 64 is explained and the optimizer test conflict is resolved. The overlap with #6176 is only the test insertion point, so Depends on: none stands. The Windows guest_shader_link timeout in the first CI run was the runner hang class (that test never reaches the optimizer); a rerun passed on Windows and Linux.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6227471189 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/4288#issuecomment-6227471189). Originally posted by [oneandonlydean](https://github.com/oneandonlydean) on 2026-10-17T00:41:24Z. --- That answers 10-13 and 10-14: `Fixes #4166` is gone, 64 is explained and the optimizer test conflict is resolved. The overlap with #6176 is only the test insertion point, so `Depends on: none` stands. The Windows `guest_shader_link` timeout in the first CI run was the runner hang class (that test never reaches the optimizer); a rerun passed on Windows and Linux.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5!4288
No description provided.