Fix typo in SamplerType.TextureBuffer

This commit is contained in:
Isaac Marovitz 2024-05-22 22:01:39 -04:00 committed by Isaac Marovitz
parent e1279f67fe
commit 20beb2e250

View File

@ -174,7 +174,7 @@ namespace Ryujinx.Graphics.Shader
typeName = (type & SamplerType.Mask) switch typeName = (type & SamplerType.Mask) switch
{ {
SamplerType.Texture1D => "texture1d", SamplerType.Texture1D => "texture1d",
SamplerType.TextureBuffer => "texturebuffer", SamplerType.TextureBuffer => "texture_buffer",
SamplerType.Texture2D => "texture2d", SamplerType.Texture2D => "texture2d",
SamplerType.Texture3D => "texture3d", SamplerType.Texture3D => "texture3d",
SamplerType.TextureCube => "texturecube", SamplerType.TextureCube => "texturecube",