Repository navigation
Conversation
Closed
9 tasks done
ee6aba54
force-pushed
the
feat/videoout-output-gamma
branch
from
October 11, 2026 22:26
29dbbf0 to
191ac23
Compare
9 tasks done
This was referenced Oct 12, 2026
ee6aba54
force-pushed
the
feat/videoout-output-gamma
branch
from
October 12, 2026 10:09
191ac23 to
cf1d324
Compare
This was referenced Oct 12, 2026
ee6aba54
force-pushed
the
feat/videoout-output-gamma
branch
from
October 12, 2026 21:18
cf1d324 to
4b0d722
Compare
This was referenced Oct 12, 2026
12 tasks done
This was referenced Nov 2, 2026
This was referenced Nov 2, 2026
This was referenced Nov 3, 2026
12 tasks done
This was referenced Nov 6, 2026
12 tasks done
12 tasks done
12 tasks done
12 tasks done
This was referenced Nov 9, 2026
12 tasks done
12 tasks done
12 tasks done
12 tasks done
12 tasks done
This was referenced Nov 12, 2026
Contributor
Validation: PR #4040 @ 366c6e4Verdict: PASS (Linux / AMD scoped; see Limitations) Environment
Build
Focused tests (VideoOut output gamma / sceVideoOutAdjustColor)Pattern (identical matched set of 15 tests in both trees, verified by Command on both trees: Results (identical in base and PR trees)
Vulkan validation-layer checks (per AGENTS.md)
Push
Limitations
|
12 tasks done
12 tasks done
MarcZX10
reviewed
Nov 23, 2026
MarcZX10
left a comment
Contributor
There was a problem hiding this comment.
Reviewed — no blocking findings
Nothing blocks this change; the implementation is coherent in the inspected code, with one compatibility concern to consider.
What I ran
Reviewed head 366c6e4148c0b6267898fda5982b0b75094dc822 using the prepared review bundle and repo_read.py for targeted source context. No build or tests were run. The author reports test results in description.md; they were not independently verified.
Results
| Check | Result | Note |
|---|---|---|
| Patch and source review | passed | Reviewed all 10 changed files |
| Build and tests | not run | Author-reported results only |
| Hardware behavior | not run | Console transfer curve and range unverified |
Findings
Blocking
None.
Non-blocking
- The surface capability is checked when constructing/resizing the swapchain, but gamma application later throws if transfer-source images are unsupported (
VulkanDevice.cpp:2848). This can make a title fail during presentation aftersceVideoOutAdjustColorsucceeds. Consider returning an error or selecting a fallback when gamma is requested on such a surface.
Not verified
- No build, test suite, negative control, or physical-console run was performed. The reported Ubuntu tests and PPSA18391 comparison were not independently checked.
- Read all changed files listed as included in
manifest.json:Presentation.hpp,PresentationGamma.hpp,EntryPoints.cpp,PresentationGamma.cpp,VulkanDevice.cpp,OutputGamma.comp,PostCompile.cmake,Graphics.cpp,Output.cpp, andlibSceVideoOut.md. No changed files were excluded by the manifest. - Did not inspect broader callers or platform-specific behavior beyond the targeted source ranges.
To get this to a good state
Nothing is required. Consider handling surfaces without transfer-source support without failing presentation.
This branch has not been deployed
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.
What
sceVideoOutAdjustColorstored the gamma of the color settings, but presentation ignored it. PPSA18391 (engine: Clickteam Fusion) sets a gamma of 2.0 and looks washed out without it.VideoOut now passes the gamma to the driver (
AgcDriverSetOutputGamma_nid_postfix). When it is not 1, presentation copies the finished swapchain image into an RGBA8 storage image, appliesout = in ^ gammato the color channels in a compute pass (OutputGamma.comp) and copies the result back. Swapchain images are created as transfer sources when the surface allows it. Frame dumps (APS5_DUMP_FRAMES) apply the same gamma, so they match the presented image. The console's transfer curve and value range are unverified on hardware; the TechnicalDebt entry forsceVideoOutAdjustColorsays so.Tested
18c438b10.agc_driver_graphicsgainsoutputGammaTests: gamma 1 leaves the image unchanged, gamma 2 maps 128 to 64, 51 to 10 and 204 to 163 and keeps alpha.agc_driver_graphicsand thevideo_outtests pass on the rebased branch; the fullctestrun (992 tests) was on the previous base5efd09afc.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt.mdfiles or images added to the repository (attach them to this PR)🤖 Generated with Claude Code