nvnCommandBufferPushGraphicsConstants Switch 2

Command buffer

void nvnCommandBufferPushGraphicsConstants(NVNcommandBuffer* cb, i32 table, i32 offset, i32 bytes, const void* data)

Switch 2's push constants: words of a root table, for the graphics or the compute stages

DriversSwitch 2 (NVN2)
Declarednvn.hook
Handlernvn_CommandBufferPushGraphicsConstants (nvn_cmd.c)

Types as nvn.hook writes them: i32, u32, i64, u64: integers of that many bits; f32: float; bool: NVNboolean; usize, isize: size_t, ptrdiff_t.


Made from ScarletNX's Sail at 166ad3910f80. nvn.h is h1k421's reconstruction (MIT); nvn.hook, the handlers and the format table ScarletNX's (GPL-3.0-or-later). The Switch 2 marks are the drivers' procedure tables (tools/manual/nvn-drivers.txt).