RyuKen/Ryujinx.Graphics.GAL/Multithreading/CommandType.cs
gdkchan 7aa430f1a5
Add support for advanced blend (part 1/2) (#2801)
* Add blend microcode registers

* Add advanced blend support using host extension

* Remove debug message

* Use pre-generated table for blend functions

* XML docs

* Rename AdvancedBlendMode to AdvancedBlendOp for consistency

* Remove redundant code

* Fix some advanced blend related issues on Vulkan

* Formatting
2023-02-19 22:37:37 -03:00

102 lines
2.3 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,
TextureSetDataSliceRegion,
TextureSetStorage,
WindowPresent,
Barrier,
BeginTransformFeedback,
ClearBuffer,
ClearRenderTargetColor,
ClearRenderTargetDepthStencil,
CommandBufferBarrier,
CopyBuffer,
DispatchCompute,
Draw,
DrawIndexed,
DrawIndexedIndirect,
DrawIndexedIndirectCount,
DrawIndirect,
DrawIndirectCount,
DrawTexture,
EndHostConditionalRendering,
EndTransformFeedback,
SetAlphaTest,
SetBlendStateAdvanced,
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,
SetScissor,
SetStencilTest,
SetTextureAndSampler,
SetUserClipDistance,
SetVertexAttribs,
SetVertexBuffers,
SetViewports,
TextureBarrier,
TextureBarrierTiled,
TryHostConditionalRendering,
TryHostConditionalRenderingFlush,
UpdateRenderScale
}
}