Convert ShaderHostConfig to BitField

This commit is contained in:
Pokechu22
2021-07-28 21:11:15 -07:00
parent c86c02e46b
commit eb81968fe6
3 changed files with 26 additions and 29 deletions

View File

@ -35,7 +35,7 @@ ShaderCache::~ShaderCache()
bool ShaderCache::Initialize()
{
m_api_type = g_ActiveConfig.backend_info.api_type;
m_host_config = ShaderHostConfig::GetCurrent();
m_host_config.bits = ShaderHostConfig::GetCurrent().bits;
if (!CompileSharedPipelines())
return false;