mirror of
https://git.743378673.xyz/MeloNX/MeloNX.git
synced 2025-07-27 17:07:10 +02:00
Support separate textures and samplers (#1216)
* Support separate textures and samplers * Add missing bindless flag, fix SNORM format on buffer textures * Add missing separation * Add comments about the new handles
This commit is contained in:
parent
49b4a4603e
commit
a19e82fdea
17 changed files with 240 additions and 59 deletions
|
@ -324,6 +324,10 @@ namespace Ryujinx.Graphics.Shader.CodeGen.Glsl
|
|||
|
||||
if (!images.TryAdd(imageName, texOp))
|
||||
{
|
||||
// Ensure that all texture operations share the same format.
|
||||
// This avoid errors like mismatched formats.
|
||||
texOp.Format = images[imageName].Format;
|
||||
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue