summaryrefslogtreecommitdiffstats
path: root/kernel/gsp_phys_gpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/gsp_phys_gpu.h')
-rw-r--r--kernel/gsp_phys_gpu.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/kernel/gsp_phys_gpu.h b/kernel/gsp_phys_gpu.h
index b8d92cd..6e16062 100644
--- a/kernel/gsp_phys_gpu.h
+++ b/kernel/gsp_phys_gpu.h
@@ -348,6 +348,13 @@ int gsp_phys_rmcall_gr_shadow_win0_value(void);
*/
bool gsp_phys_rmcall_gr_sph_bind_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
+ * sema service's draw-coverage receipt.
+ */
+void gsp_phys_gr_vp_state_get(int *mode, u32 *words, u32 *n);
+
/* m91: keep the forwarded QMD pointer pairs at the guest VAs (default 0). */
int gsp_phys_rmcall_gr_ptr_guest_value(void);