mirror of
https://github.com/izzy2lost/dolphin.git
synced 2026-06-19 01:16:48 -07:00
Recompile shaders when 'Enable API Validation Layers' is toggled
This commit is contained in:
@@ -38,6 +38,7 @@ ShaderHostConfig ShaderHostConfig::GetCurrent()
|
||||
bits.backend_shader_framebuffer_fetch = g_ActiveConfig.backend_info.bSupportsFramebufferFetch;
|
||||
bits.backend_logic_op = g_ActiveConfig.backend_info.bSupportsLogicOp;
|
||||
bits.backend_palette_conversion = g_ActiveConfig.backend_info.bSupportsPaletteConversion;
|
||||
bits.enable_validation_layer = g_ActiveConfig.bEnableValidationLayer;
|
||||
return bits;
|
||||
}
|
||||
|
||||
|
||||
@@ -167,6 +167,7 @@ union ShaderHostConfig
|
||||
BitField<20, 1, bool, u32> backend_shader_framebuffer_fetch;
|
||||
BitField<21, 1, bool, u32> backend_logic_op;
|
||||
BitField<22, 1, bool, u32> backend_palette_conversion;
|
||||
BitField<23, 1, bool, u32> enable_validation_layer;
|
||||
|
||||
static ShaderHostConfig GetCurrent();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user