mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2025-06-28 12:30:47 -07:00
Avoid sampler conflicts on bindless samplers with the same name (#1642)
This commit is contained in:
@ -247,7 +247,7 @@ namespace Ryujinx.Graphics.Shader.CodeGen.Glsl
|
||||
{
|
||||
AstOperand operand = texOp.GetSource(0) as AstOperand;
|
||||
|
||||
suffix = "_cb" + operand.CbufSlot + "_" + operand.CbufOffset;
|
||||
suffix = $"_{texOp.Type.ToGlslSamplerType()}_cb{operand.CbufSlot}_{operand.CbufOffset}";
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user