mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-06 06:51:18 +12:00
GX2: Rework GX2Set*UniformReg
- Use cafeExportRegister() instead of legacy export - Submit as a single PM4 packet - Add logging for the special case of the size parameter (not sure if this is used by any game?) - Add some extra validation and logging which may be helpful to homebrew devs
This commit is contained in:
parent
3d0d987d89
commit
0993658c82
5 changed files with 34 additions and 42 deletions
|
@ -18,11 +18,9 @@ void gx2_load();
|
|||
void gx2Export_GX2SetPixelShader(PPCInterpreter_t* hCPU);
|
||||
void gx2Export_GX2SetGeometryShader(PPCInterpreter_t* hCPU);
|
||||
void gx2Export_GX2SetComputeShader(PPCInterpreter_t* hCPU);
|
||||
void gx2Export_GX2SetVertexUniformReg(PPCInterpreter_t* hCPU);
|
||||
void gx2Export_GX2SetVertexUniformBlock(PPCInterpreter_t* hCPU);
|
||||
void gx2Export_GX2RSetVertexUniformBlock(PPCInterpreter_t* hCPU);
|
||||
void gx2Export_GX2SetPixelUniformBlock(PPCInterpreter_t* hCPU);
|
||||
void gx2Export_GX2SetPixelUniformReg(PPCInterpreter_t* hCPU);
|
||||
void gx2Export_GX2SetGeometryUniformBlock(PPCInterpreter_t* hCPU);
|
||||
void gx2Export_GX2SetShaderModeEx(PPCInterpreter_t* hCPU);
|
||||
void gx2Export_GX2CalcGeometryShaderInputRingBufferSize(PPCInterpreter_t* hCPU);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue