mirror of
https://github.com/par274/sharpemu.git
synced 2026-07-16 03:00:57 +00:00
[AGC/Vulkan] Extend PS5 runtime and rendering compatibility (#216)
* [Core] Add POSIX native execution and PS5 SELF support Extend the native backend, guest TLS, fixed-address memory, and loader paths needed by PS5 titles on Windows, Linux, and macOS. Keep workstation GC so high-core-count hosts do not reserve over fixed guest image bases. * [HLE] Expand PS5 service and media compatibility Add the kernel, threading, save-data, networking, audio, video-codec, font, dialog, and service exports required by newer PS5 software. Preserve every SysAbi NID currently registered by main while adding the compatibility surface used by ASTRO BOT. * [AGC/Vulkan] Extend Gen5 shader and presentation support Expand PM4 handling, Gen5 shader translation, MRT and packed export support, guest image tracking, depth initialization, texture aliasing, and Vulkan presentation. Add the performance overlay and address-filtered diagnostics used to validate ASTRO BOT with original shaders. * [Core] Align static TLS reservation across hosts * [Pad] Align primary user ID with UserService * [Gpu] Preserve runtime scalar buffers across renderer seam * [AGC] Restore omitted command helper exports * [Vulkan] Reuse primary views for promoted MRT targets * [Vulkan] Preserve scratch storage bindings in compute dispatches
This commit is contained in:
@@ -192,14 +192,22 @@ foreach (var (name, expectTranslate, words) in testPrograms)
|
||||
// the hand-assembled buffer_store words, and the 64-byte backing store
|
||||
// must cover every hand-assembled store offset.
|
||||
var globalBindings = storePcs.Count > 0
|
||||
? new[] { new Gen5GlobalMemoryBinding(8u, 0UL, storePcs, new byte[64]) }
|
||||
? new[]
|
||||
{
|
||||
new Gen5GlobalMemoryBinding(
|
||||
8u,
|
||||
0UL,
|
||||
storePcs,
|
||||
new byte[64],
|
||||
64,
|
||||
false),
|
||||
}
|
||||
: Array.Empty<Gen5GlobalMemoryBinding>();
|
||||
|
||||
var state = new Gen5ShaderState(program, new uint[16], Metadata: null);
|
||||
var evaluation = new Gen5ShaderEvaluation(
|
||||
new uint[256],
|
||||
new uint[256],
|
||||
new Dictionary<uint, IReadOnlyList<uint>>(),
|
||||
Array.Empty<Gen5ImageBinding>(),
|
||||
globalBindings);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user