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:
parent
b34c0a47b4
commit
12533e5c9d
3 changed files with 47 additions and 15 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue