vulkan: implement draw(DrawCommand)

Now love.graphics.point and love.graphics.line works
This commit is contained in:
niki
2022-07-13 13:56:00 +02:00
parent 14b8abeef5
commit 0834408b90
5 changed files with 61 additions and 18 deletions
+4 -1
View File
@@ -6,6 +6,7 @@
#include <vulkan/vulkan.h>
#include <map>
#include <iostream>
namespace love {
@@ -20,7 +21,9 @@ namespace love {
return shaderStages;
}
void attach() override {}
void attach() override {
Shader::current = this;
}
ptrdiff_t getHandle() const { return 0; }