mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-19 20:19:13 +12:00
[GPU] Stub FlushCacheRange, increase size of shader memory
This commit is contained in:
parent
4930c1a947
commit
5f7804e99f
3 changed files with 15 additions and 8 deletions
|
@ -18,7 +18,8 @@ namespace GXCommands {
|
|||
enum : u32 {
|
||||
ProcessCommandList = 1,
|
||||
MemoryFill = 2,
|
||||
TriggerDisplayTransfer = 3
|
||||
TriggerDisplayTransfer = 3,
|
||||
FlushCacheRegions = 5
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -214,6 +215,7 @@ void GPUService::processCommandBuffer() {
|
|||
case GXCommands::ProcessCommandList: processCommandList(cmd); break;
|
||||
case GXCommands::MemoryFill: memoryFill(cmd); break;
|
||||
case GXCommands::TriggerDisplayTransfer: triggerDisplayTransfer(cmd); break;
|
||||
case GXCommands::FlushCacheRegions: flushCacheRegions(cmd); break;
|
||||
default: Helpers::panic("GSP::GPU::ProcessCommands: Unknown cmd ID %d", cmdID);
|
||||
}
|
||||
|
||||
|
@ -252,6 +254,10 @@ void GPUService::triggerDisplayTransfer(u32* cmd) {
|
|||
requestInterrupt(GPUInterrupt::PPF); // Send "Display transfer finished" interrupt
|
||||
}
|
||||
|
||||
void GPUService::flushCacheRegions(u32* cmd) {
|
||||
log("GSP::GPU::FlushCacheRegions (Stubbed)\n");
|
||||
}
|
||||
|
||||
// Actually send command list (aka display list) to GPU
|
||||
void GPUService::processCommandList(u32* cmd) {
|
||||
u32 address = cmd[1] & ~7; // Buffer address
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue