Allow any shader SSBO constant buffer slot and offset (#2237)
* Allow any shader SSBO constant buffer slot and offset * Fix slot value passed to SetUsedStorageBuffer on fallback case * Shader cache version * Ensure that the storage buffer source constant buffer offset is word aligned * Fix FirstBinding on GetUniformBufferDescriptors
This commit is contained in:
parent
1f5d881860
commit
aa021085cf
10 changed files with 194 additions and 52 deletions
|
@ -6,7 +6,7 @@ namespace Ryujinx.Graphics.Shader
|
|||
/// Flags that indicate how a buffer will be used in a shader.
|
||||
/// </summary>
|
||||
[Flags]
|
||||
public enum BufferUsageFlags
|
||||
public enum BufferUsageFlags : byte
|
||||
{
|
||||
None = 0,
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue