mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-03 03:03:50 +01:00
Use separate pushbuffers for UBO/Index/Vertex. This will make decoding directly into the pushbuffers easier, plus other benefits later.
(For example, we'll often be able to avoid rebinding the vertex and index buffers at new offsets by just keep counting upwards between draws, if the vertex format is the same but other state changed)
This commit is contained in:
1 parent
966cb89d41
commit
f7113bb2e3
4 files changed
+46
-29
No files matched your search
@@ -440,7 +440,7 @@ void __DisplayGetDebugStats(char stats[], size_t bufsize) {
|
||||
"Vertex shaders loaded: %i\n"
|
||||
"Fragment shaders loaded: %i\n"
|
||||
"Combined shaders loaded: %i\n"
|
||||
"Pushbuffer space used: %i\n",
|
||||
"Pushbuffer space used: UBO %d, Vtx %d, Idx %d\n",
|
||||
gpuStats.numVBlanks,
|
||||
gpuStats.msProcessingDisplayLists * 1000.0f,
|
||||
kernelStats.msInSyscalls * 1000.0f,
|
||||
@@ -465,7 +465,9 @@ void __DisplayGetDebugStats(char stats[], size_t bufsize) {
|
||||
gpuStats.numVertexShaders,
|
||||
gpuStats.numFragmentShaders,
|
||||
gpuStats.numShaders,
|
||||
gpuStats.pushSpaceUsed
|
||||
gpuStats.pushUBOSpaceUsed,
|
||||
gpuStats.pushVertexSpaceUsed,
|
||||
gpuStats.pushIndexSpaceUsed
|
||||
);
|
||||
stats[bufsize - 1] = '\0';
|
||||
gpuStats.ResetFrame();
|
||||
|
||||
Reference in new issue
Block a user