Compare commits

...

3 Commits

Author SHA1 Message Date
RBMLWizard
12e95869a2
Merge df7cc0d314 into 7d158acc3b 2024-09-30 15:53:08 +00:00
gdkchan
7d158acc3b
Do not try to create a texture pool if shader does not use textures (#7379) 2024-09-30 11:41:07 -03:00
RBMLWizard
df7cc0d314
Update README.md 2024-09-26 12:28:44 -07:00
2 changed files with 8 additions and 1 deletions

View File

@ -90,6 +90,13 @@ You can quickly access it on Windows by holding shift in File Explorer, then rig
Then type the following command: `dotnet build -c Release -o build`
the built files will be found in the newly created build directory.
If you want to create a self-contained build, which includes the .NET runtime, you can use the following command:
`dotnet publish -c Release -o build --self-contained` . Please note that this may require administrative privileges for the command prompt.
You can also add appropriate Runtime Identifier (RID) for your target platform
example: `dotnet publish -c Release -o build --self-contained -r <RID>`
Ryujinx system files are stored in the `Ryujinx` folder.
This folder is located in the user folder, which can be accessed by clicking `Open Ryujinx Folder` under the File menu in the GUI.

View File

@ -743,7 +743,7 @@ namespace Ryujinx.Graphics.Gpu.Shader
constantBufferUsePerStageMask &= ~(1 << index);
}
if (checkTextures)
if (checkTextures && _allTextures.Length > 0)
{
TexturePool pool = channel.TextureManager.GetTexturePool(poolState.TexturePoolGpuVa, poolState.TexturePoolMaximumId);