forked from Mirror/Ryujinx
b46b63e06a
* Add support for alpha to coverage dithering * Shader cache version bump * Fix wrong alpha register * Ensure support buffer is cleared * New shader specialization based approach
99 lines
2.2 KiB
C#
99 lines
2.2 KiB
C#
namespace Ryujinx.Graphics.GAL.Multithreading
|
|
{
|
|
enum CommandType : byte
|
|
{
|
|
Action,
|
|
CreateBuffer,
|
|
CreateProgram,
|
|
CreateSampler,
|
|
CreateSync,
|
|
CreateTexture,
|
|
GetCapabilities,
|
|
Unused,
|
|
PreFrame,
|
|
ReportCounter,
|
|
ResetCounter,
|
|
UpdateCounters,
|
|
|
|
BufferDispose,
|
|
BufferGetData,
|
|
BufferSetData,
|
|
|
|
CounterEventDispose,
|
|
CounterEventFlush,
|
|
|
|
ProgramDispose,
|
|
ProgramGetBinary,
|
|
ProgramCheckLink,
|
|
|
|
SamplerDispose,
|
|
|
|
TextureCopyTo,
|
|
TextureCopyToScaled,
|
|
TextureCopyToSlice,
|
|
TextureCreateView,
|
|
TextureGetData,
|
|
TextureGetDataSlice,
|
|
TextureRelease,
|
|
TextureSetData,
|
|
TextureSetDataSlice,
|
|
TextureSetStorage,
|
|
|
|
WindowPresent,
|
|
|
|
Barrier,
|
|
BeginTransformFeedback,
|
|
ClearBuffer,
|
|
ClearRenderTargetColor,
|
|
ClearRenderTargetDepthStencil,
|
|
CommandBufferBarrier,
|
|
CopyBuffer,
|
|
DispatchCompute,
|
|
Draw,
|
|
DrawIndexed,
|
|
DrawTexture,
|
|
EndHostConditionalRendering,
|
|
EndTransformFeedback,
|
|
MultiDrawIndirectCount,
|
|
MultiDrawIndexedIndirectCount,
|
|
SetAlphaTest,
|
|
SetBlendState,
|
|
SetDepthBias,
|
|
SetDepthClamp,
|
|
SetDepthMode,
|
|
SetDepthTest,
|
|
SetFaceCulling,
|
|
SetFrontFace,
|
|
SetStorageBuffers,
|
|
SetTransformFeedbackBuffers,
|
|
SetUniformBuffers,
|
|
SetImage,
|
|
SetIndexBuffer,
|
|
SetLineParameters,
|
|
SetLogicOpState,
|
|
SetMultisampleState,
|
|
SetPatchParameters,
|
|
SetPointParameters,
|
|
SetPolygonMode,
|
|
SetPrimitiveRestart,
|
|
SetPrimitiveTopology,
|
|
SetProgram,
|
|
SetRasterizerDiscard,
|
|
SetRenderTargetColorMasks,
|
|
SetRenderTargetScale,
|
|
SetRenderTargets,
|
|
SetSampler,
|
|
SetScissor,
|
|
SetStencilTest,
|
|
SetTexture,
|
|
SetUserClipDistance,
|
|
SetVertexAttribs,
|
|
SetVertexBuffers,
|
|
SetViewports,
|
|
TextureBarrier,
|
|
TextureBarrierTiled,
|
|
TryHostConditionalRendering,
|
|
TryHostConditionalRenderingFlush,
|
|
UpdateRenderScale
|
|
}
|
|
}
|