fix(libSceAgc): refuse a null scratch on the hull fusion path and halves without special registers #16334
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/16334"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-06T10:01:17Z.
What
sceAgcFuseShaderHalves_0200handled two inputs badly:vgt_shader_stages_enwas read. Such a pair is now refused with the shader-half error. Every pair that reached that read before is unaffected.Commits: one
fixand onetestper defect (eb04486b7a/c0a8599314for the hull null scratch,8cb5ea163d/97491f4834for the null specials) and adocs(debt)commit recording that both refusals are this library's own choice, not measured on the console.No open PR touches
ShaderFusion.cpp(checked #16194, #16200, #8314 and #13940).Tested
Linux, throwaway archive build of this head:
BUILD-EXIT 0, ctestagc_shader_fusion(targetagc_shader_fusion_tests) passed, 1 of 1.python3 tools/check_conventions.py --base upstream/mainandgit diff --checkare clean. The new cases were not run against the unfixed code; that they fail without the fixes is reasoned from the code. Not run on Windows or macOS.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)