mirror of
https://git.ryujinx.app/kenji-nx/ryujinx.git
synced 2025-12-22 22:37:10 +00:00
Avoid querying and setting texture bindings in hot code (#376)
This commit is contained in:
parent
57dfa09e3a
commit
1cd7aaf504
3 changed files with 29 additions and 13 deletions
|
|
@ -442,8 +442,6 @@ namespace Ryujinx.HLE.Gpu.Engines
|
|||
|
||||
UploadTexture(Vmm, TexIndex, TextureHandle);
|
||||
|
||||
Gpu.Renderer.Shader.EnsureTextureBinding(DeclInfo.Name, TexIndex);
|
||||
|
||||
TexIndex++;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue