Improving performance, but breaking vertex buffers

This commit is contained in:
Dynamitos
2020-10-30 18:45:35 +01:00
parent 84b3fa29bf
commit 41710220ec
25 changed files with 164 additions and 62 deletions
@@ -26,6 +26,7 @@ public:
return "main";//entryPointName.c_str();
}
Map<uint32, PDescriptorLayout> getDescriptorLayouts();
uint32 getShaderHash() const;
private:
PGraphics graphics;
Map<uint32, PDescriptorLayout> descriptorSets;
@@ -33,6 +34,7 @@ private:
VkShaderStageFlags stage;
ShaderType type;
std::string entryPointName;
uint32 hash;
};
DEFINE_REF(Shader);