mirror of
https://github.com/switchbrew/libnx.git
synced 2025-12-08 13:15:15 +01:00
16 lines
316 B
C
16 lines
316 B
C
typedef struct {
|
|
NvGpu* parent;
|
|
NvCmdList cmd_list;
|
|
|
|
NvBuffer vertex_runout;
|
|
NvBuffer const_buffer0;
|
|
} Vn;
|
|
|
|
#define VnCmd(vn, ...) \
|
|
NvCmd(&(vn)->cmd_list, __VA_ARGS__)
|
|
|
|
static inline Result vnSubmit(Vn* v) {
|
|
NvFence f;
|
|
return nvGpfifoSubmit(&v->parent->gpfifo, &v->cmd_list, &f);
|
|
}
|