Archived
1
0
Fork 0
forked from Mirror/Ryujinx
This repository has been archived on 2024-10-11. You can view files and clone it, but cannot push or open issues or pull requests.
jinx/Ryujinx.Graphics.GAL/Multithreading/CommandType.cs
gdkchan 611bec6e44
Implement DrawTexture functionality (#2747)
* Implement DrawTexture functionality

* Non-NVIDIA support

* Disable some features that should not affect draw texture (slow path)

* Remove space from shader source

* Match 2D engine names

* Fix resolution scale and add missing XML docs

* Disable transform feedback for draw texture fallback
2021-11-10 15:37:49 -03:00

100 lines
2.2 KiB
C#

namespace Ryujinx.Graphics.GAL.Multithreading
{
enum CommandType : byte
{
Action,
CompileShader,
CreateBuffer,
CreateProgram,
CreateSampler,
CreateSync,
CreateTexture,
GetCapabilities,
Unused,
PreFrame,
ReportCounter,
ResetCounter,
UpdateCounters,
BufferDispose,
BufferGetData,
BufferSetData,
CounterEventDispose,
CounterEventFlush,
ProgramDispose,
ProgramGetBinary,
ProgramCheckLink,
SamplerDispose,
ShaderDispose,
TextureCopyTo,
TextureCopyToScaled,
TextureCopyToSlice,
TextureCreateView,
TextureGetData,
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,
SetPatchParameters,
SetPointParameters,
SetPolygonMode,
SetPrimitiveRestart,
SetPrimitiveTopology,
SetProgram,
SetRasterizerDiscard,
SetRenderTargetColorMasks,
SetRenderTargetScale,
SetRenderTargets,
SetSampler,
SetScissor,
SetStencilTest,
SetTexture,
SetUserClipDistance,
SetVertexAttribs,
SetVertexBuffers,
SetViewports,
TextureBarrier,
TextureBarrierTiled,
TryHostConditionalRendering,
TryHostConditionalRenderingFlush,
UpdateRenderScale
}
}