vulkan: implement getAPIStats

This commit is contained in:
niki
2022-07-16 23:46:03 +02:00
parent 913aab0226
commit 6916182a79
6 changed files with 37 additions and 7 deletions
+2 -6
View File
@@ -3,6 +3,7 @@
#include <graphics/Shader.h>
#include <graphics/vulkan/ShaderStage.h>
#include "Vulkan.h"
#include <vulkan/vulkan.h>
#include <map>
@@ -21,12 +22,7 @@ namespace love {
return shaderStages;
}
void attach() override {
if (Shader::current != this) {
Graphics::flushBatchedDrawsGlobal();
Shader::current = this;
}
}
void attach() override;
ptrdiff_t getHandle() const { return 0; }