renderer_vulkan: Implement renderer and rasterizer classes
* Also WIP. Vulkan crashes when allocating command buffers, need to investigate...
This commit is contained in:
@ -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;
|
||||
};
|
||||
|
Reference in New Issue
Block a user