mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2025-06-30 04:40:47 -07:00
Fix buffer and texture uses not being propagated for vertex A/B shaders (#2300)
* Fix buffer and texture uses not being propagated for vertex A/B shaders * Shader cache version bump
This commit is contained in:
@ -132,10 +132,9 @@ namespace Ryujinx.Graphics.Shader.Translation
|
||||
|
||||
if (other != null)
|
||||
{
|
||||
_config.SetUsedFeature(other._config.UsedFeatures);
|
||||
TextureHandlesForCache.UnionWith(other.TextureHandlesForCache);
|
||||
|
||||
code = Combine(EmitShader(other._cfg, other._config), code);
|
||||
|
||||
_config.InheritFrom(other._config);
|
||||
}
|
||||
|
||||
return Translator.Translate(code, _config, out shaderProgramInfo);
|
||||
|
Reference in New Issue
Block a user