Ryujinx/Ryujinx.Graphics.GAL/Multithreading/CommandType.cs
gdkchan 923089a298
Fast path for Inline-to-Memory texture data transfers (#3610)
* Fast path for Inline-to-Memory texture data transfers

* Only do it for block linear textures to be on the safe side
2022-08-26 02:16:41 +00:00

99 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,
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,
SetScissor,
SetStencilTest,
SetTextureAndSampler,
SetUserClipDistance,
SetVertexAttribs,
SetVertexBuffers,
SetViewports,
TextureBarrier,
TextureBarrierTiled,
TryHostConditionalRendering,
TryHostConditionalRenderingFlush,
UpdateRenderScale
}
}