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

@ -53,7 +53,7 @@ public:
void InitializeShaderCache();
// Changes the shader host config. Shaders should be reloaded afterwards.
void SetHostConfig(const ShaderHostConfig& host_config) { m_host_config = host_config; }
void SetHostConfig(const ShaderHostConfig& host_config) { m_host_config.bits = host_config.bits; }
// Reloads/recreates all shaders and pipelines.
void Reload();