From 88e0b15326a7bacb6c02f351b26a4b28a7933ad8 Mon Sep 17 00:00:00 2001 From: Arthur Hanson Rasmusson Date: Fri, 6 Nov 2026 20:09:42 -0500 Subject: vgsp-gl: synthesized GS SPH image + map variants for the SPH18 gate --- kernel/gsp_phys_gpu.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'kernel/gsp_phys_gpu.h') diff --git a/kernel/gsp_phys_gpu.h b/kernel/gsp_phys_gpu.h index 6e16062..6cb6aef 100644 --- a/kernel/gsp_phys_gpu.h +++ b/kernel/gsp_phys_gpu.h @@ -348,6 +348,20 @@ int gsp_phys_rmcall_gr_shadow_win0_value(void); */ bool gsp_phys_rmcall_gr_sph_bind_value(void); +/* + * SESSION 155 CONT 11: bind a synthesized header-only GEOMETRY SPH to + * stage 4 with ENABLE=0 (sema_gl_sph_gs_img, default 0). The sema service + * uses this value to author the 128-byte image at family+0x780. + */ +bool gsp_phys_rmcall_gr_sph_gs_img_value(void); + +/* + * SESSION 155 CONT 12: attribute-map variant for the synthesized GS SPH + * (0=pass-through, 1=zero maps, 2=PS-exact, 3=IMAP POS+COLOR / OMAP + * POS.XYZW). The sema service reads this per capture. + */ +u32 gsp_phys_rmcall_gr_sph_gs_maps_value(void); + /* * r1512: the viewport state the 3D replay injects for the current launch * (sema_gl_vp_prelude mode + its literal words). Read-only; used by the -- cgit v1.2.3