Fix constant buffer array size when indexing is used and other buffer descriptor and resolution scale regressions (#2298)
* Fix constant buffer array size when indexing is used * Change default QueryConstantBufferUse value * Fix more regressions * Ensure proper order
This commit is contained in:
parent
7b8ad1c36c
commit
b34c0a47b4
5 changed files with 54 additions and 23 deletions
|
@ -36,7 +36,7 @@ namespace Ryujinx.Graphics.Gpu.Shader
|
|||
/// <summary>
|
||||
/// Version of the codegen (to be changed when codegen or guest format change).
|
||||
/// </summary>
|
||||
private const ulong ShaderCodeGenVersion = 2290;
|
||||
private const ulong ShaderCodeGenVersion = 2298;
|
||||
|
||||
// Progress reporting helpers
|
||||
private volatile int _shaderCount;
|
||||
|
@ -415,7 +415,7 @@ namespace Ryujinx.Graphics.Gpu.Shader
|
|||
if (activeTasks.Count == maxTaskCount)
|
||||
{
|
||||
// Wait for a task to be done, or for 1ms.
|
||||
// Host shader compilation cannot signal when it is done,
|
||||
// Host shader compilation cannot signal when it is done,
|
||||
// so the 1ms timeout is required to poll status.
|
||||
|
||||
taskDoneEvent.WaitOne(1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue