renderer_vulkan: Implement renderer and rasterizer classes

* Also WIP. Vulkan crashes when allocating command buffers, need to investigate...
This commit is contained in:
emufan4568
2022-09-18 01:11:37 +03:00
committed by GPUCode
parent c85731f3ae
commit 794f6e4a67
34 changed files with 4191 additions and 347 deletions

View File

@ -40,7 +40,7 @@ public:
shaders.emplace(key, std::move(shader));
}
private:
public:
std::unordered_map<KeyType, ShaderType> shaders;
};
@ -89,7 +89,7 @@ public:
shader_map.insert_or_assign(key, &cached_shader);
}
private:
public:
std::unordered_map<KeyType, ShaderType*> shader_map;
std::unordered_map<std::string, ShaderType> shader_cache;
};