diff options
author | gdkchan <gab.dark.100@gmail.com> | 2022-09-13 03:53:55 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-13 08:53:55 +0200 |
commit | 66f16f43921bdd6d0f706d09aa37166d374dec2e (patch) | |
tree | e3d9d8c67f3ccfa4ce13c2c43ba2ea6e0d160c00 /Ryujinx.Graphics.Shader/IntermediateRepresentation/TextureOperation.cs | |
parent | 729ff5337cab8d1fd4cc66d7792d410172f25f62 (diff) |
Fix bindless 1D textures having a buffer type on the shader (#3697)1.1.267
* Fix bindless 1D textures having a buffer type on the shader
* Shader cache version bump
Diffstat (limited to 'Ryujinx.Graphics.Shader/IntermediateRepresentation/TextureOperation.cs')
-rw-r--r-- | Ryujinx.Graphics.Shader/IntermediateRepresentation/TextureOperation.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Ryujinx.Graphics.Shader/IntermediateRepresentation/TextureOperation.cs b/Ryujinx.Graphics.Shader/IntermediateRepresentation/TextureOperation.cs index ea9ae39c..8cfcb0e9 100644 --- a/Ryujinx.Graphics.Shader/IntermediateRepresentation/TextureOperation.cs +++ b/Ryujinx.Graphics.Shader/IntermediateRepresentation/TextureOperation.cs @@ -60,5 +60,10 @@ namespace Ryujinx.Graphics.Shader.IntermediateRepresentation CbufSlot = cbufSlot; Handle = handle; } + + public void SetLodLevelFlag() + { + Flags |= TextureFlags.LodLevel; + } } }
\ No newline at end of file |