mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2025-01-12 21:59:12 +00:00
Fix GLSL generation
This commit is contained in:
parent
20a313ee15
commit
764849b05e
1 changed files with 2 additions and 2 deletions
|
@ -710,12 +710,12 @@ namespace Ryujinx.Graphics.Shader.CodeGen.Glsl.Instructions
|
||||||
|
|
||||||
private static string GetSamplerName(ShaderProperties resourceDefinitions, AstTextureOperation texOp)
|
private static string GetSamplerName(ShaderProperties resourceDefinitions, AstTextureOperation texOp)
|
||||||
{
|
{
|
||||||
return resourceDefinitions.Textures[SetBindingPairWithType.Unpack(texOp.Binding, texOp.Type)].Name;
|
return resourceDefinitions.Textures[SetBindingPairWithType.Unpack(texOp.Binding, SamplerType.None)].Name;
|
||||||
}
|
}
|
||||||
|
|
||||||
private static string GetImageName(ShaderProperties resourceDefinitions, AstTextureOperation texOp)
|
private static string GetImageName(ShaderProperties resourceDefinitions, AstTextureOperation texOp)
|
||||||
{
|
{
|
||||||
return resourceDefinitions.Images[SetBindingPairWithType.Unpack(texOp.Binding, texOp.Type)].Name;
|
return resourceDefinitions.Images[SetBindingPairWithType.Unpack(texOp.Binding, SamplerType.None)].Name;
|
||||||
}
|
}
|
||||||
|
|
||||||
private static string GetMask(int index)
|
private static string GetMask(int index)
|
||||||
|
|
Loading…
Reference in a new issue