MCPcopy Create free account
hub / github.com/devkitPro/libctru / GSPGPU_TriggerCmdReqQueue

Function GSPGPU_TriggerCmdReqQueue

libctru/source/services/gspgpu.c:545–554  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

543}
544
545Result GSPGPU_TriggerCmdReqQueue(void)
546{
547 u32* cmdbuf=getThreadCommandBuffer();
548 cmdbuf[0]=IPC_MakeHeader(0xC,0,0); // 0xC0000
549
550 Result ret=0;
551 if(R_FAILED(ret=svcSendSyncRequest(gspGpuHandle)))return ret;
552
553 return cmdbuf[1];
554}
555
556Result GSPGPU_SetPerfLogMode(bool enabled)
557{

Callers 1

gspSubmitGxCommandFunction · 0.85

Calls 2

getThreadCommandBufferFunction · 0.85
IPC_MakeHeaderFunction · 0.85

Tested by

no test coverage detected