mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-10 08:09:26 +01:00
ShaderGenCommon: Add bit for LOD bias
This commit is contained in:
parent
91cdeb5aa6
commit
4e12d6e871
@ -42,6 +42,7 @@ ShaderHostConfig ShaderHostConfig::GetCurrent()
|
||||
bits.manual_texture_sampling = !g_ActiveConfig.bFastTextureSampling;
|
||||
bits.manual_texture_sampling_custom_texture_sizes =
|
||||
g_ActiveConfig.ManualTextureSamplingWithHiResTextures();
|
||||
bits.backend_sampler_lod_bias = g_ActiveConfig.backend_info.bSupportsLodBiasInSampler;
|
||||
return bits;
|
||||
}
|
||||
|
||||
|
@ -172,6 +172,7 @@ union ShaderHostConfig
|
||||
BitField<23, 1, bool, u32> enable_validation_layer;
|
||||
BitField<24, 1, bool, u32> manual_texture_sampling;
|
||||
BitField<25, 1, bool, u32> manual_texture_sampling_custom_texture_sizes;
|
||||
BitField<26, 1, bool, u32> backend_sampler_lod_bias;
|
||||
|
||||
static ShaderHostConfig GetCurrent();
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user