mirror of
https://github.com/switchbrew/libnx.git
synced 2025-12-08 21:25:14 +01:00
15 lines
440 B
C
15 lines
440 B
C
#include <switch.h>
|
|
#include <string.h>
|
|
|
|
void vnCmdsInit(Vn* vn, NvGpu* parent)
|
|
{
|
|
vn->parent = parent;
|
|
|
|
VnCmd(vn,
|
|
NvIncr(0, NvCmdCommon_BindObject, NvClassNumber_3D),
|
|
NvIncr(1, NvCmdCommon_BindObject, NvClassNumber_Compute),
|
|
NvIncr(2, NvCmdCommon_BindObject, NvClassNumber_Kepler),
|
|
NvIncr(3, NvCmdCommon_BindObject, NvClassNumber_2D),
|
|
NvIncr(4, NvCmdCommon_BindObject, NvClassNumber_DMA));
|
|
}
|