aa021085cf
* 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
19 lines
345 B
C#
19 lines
345 B
C#
using System;
|
|
|
|
namespace Ryujinx.Graphics.Shader
|
|
{
|
|
/// <summary>
|
|
/// Flags that indicate how a buffer will be used in a shader.
|
|
/// </summary>
|
|
[Flags]
|
|
public enum BufferUsageFlags : byte
|
|
{
|
|
None = 0,
|
|
|
|
/// <summary>
|
|
/// Buffer is written to.
|
|
/// </summary>
|
|
Write = 1 << 0
|
|
}
|
|
}
|