1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-12-21 15:12:03 +00:00
Ryujinx/Ryujinx.Graphics.GAL/Multithreading/Commands
gdkchan f1d1670b0b
Implement HLE macro for DrawElementsIndirect (#3748)
* Implement HLE macro for DrawElementsIndirect

* Shader cache version bump

* Use GL_ARB_shader_draw_parameters extension on OpenGL

* Fix DrawIndexedIndirectCount on Vulkan when extension is not supported

* Implement DrawIndex

* Alignment

* Fix some validation errors

* Rename BaseIds to DrawParameters

* Fix incorrect index buffer and vertex buffer size in some cases

* Add HLE macros for DrawArraysInstanced and DrawElementsInstanced

* Perform a regular draw when indirect data is not modified

* Use non-indirect draw methods if indirect buffer was not GPU modified

* Only check if draw parameters match if the shader actually uses them

* Expose Macro HLE setting on GUI

* Reset FirstVertex and FirstInstance after draw

* Update shader cache version again since some people already tested this

* PR feedback

Co-authored-by: riperiperi <rhy3756547@hotmail.com>
2022-11-16 14:53:04 -03:00
..
Buffer
CounterEvent
Program
Renderer New shader cache implementation (#3194) 2022-04-10 10:49:44 -03:00
Sampler
Texture Fast path for Inline-to-Memory texture data transfers (#3610) 2022-08-26 02:16:41 +00:00
Window Avalonia - Use embedded window for avalonia (#3674) 2022-09-19 15:05:26 -03:00
BarrierCommand.cs
BeginTransformFeedbackCommand.cs
ClearBufferCommand.cs
ClearRenderTargetColorCommand.cs Implement HLE macros for render target clears (#3528) 2022-08-04 21:30:08 +00:00
ClearRenderTargetDepthStencilCommand.cs Implement HLE macros for render target clears (#3528) 2022-08-04 21:30:08 +00:00
CommandBufferBarrierCommand.cs
CopyBufferCommand.cs
DispatchComputeCommand.cs
DrawCommand.cs
DrawIndexedCommand.cs
DrawIndexedIndirectCommand.cs Implement HLE macro for DrawElementsIndirect (#3748) 2022-11-16 14:53:04 -03:00
DrawIndexedIndirectCountCommand.cs Implement HLE macro for DrawElementsIndirect (#3748) 2022-11-16 14:53:04 -03:00
DrawIndirectCommand.cs Implement HLE macro for DrawElementsIndirect (#3748) 2022-11-16 14:53:04 -03:00
DrawIndirectCountCommand.cs Implement HLE macro for DrawElementsIndirect (#3748) 2022-11-16 14:53:04 -03:00
DrawTextureCommand.cs Implement DrawTexture functionality (#2747) 2021-11-10 15:37:49 -03:00
EndHostConditionalRenderingCommand.cs
EndTransformFeedbackCommand.cs
IGALCommand.cs
SetAlphaTestCommand.cs
SetBlendStateCommand.cs
SetDepthBiasCommand.cs
SetDepthClampCommand.cs
SetDepthModeCommand.cs
SetDepthTestCommand.cs
SetFaceCullingCommand.cs
SetFrontFaceCommand.cs
SetImageCommand.cs
SetIndexBufferCommand.cs
SetLineParametersCommand.cs
SetLogicOpStateCommand.cs
SetMultisampleStateCommand.cs Add support for alpha to coverage dithering (#3069) 2022-07-05 19:58:36 -03:00
SetPatchParametersCommand.cs Rename ToSpan to AsSpan (#3556) 2022-08-11 18:07:37 -03:00
SetPointParametersCommand.cs
SetPolygonModeCommand.cs
SetPrimitiveRestartCommand.cs
SetPrimitiveTopologyCommand.cs
SetProgramCommand.cs
SetRasterizerDiscardCommand.cs
SetRenderTargetColorMasksCommand.cs
SetRenderTargetScaleCommand.cs
SetRenderTargetsCommand.cs
SetScissorsCommand.cs Vulkan backend (#2518) 2022-07-31 18:26:06 -03:00
SetStencilTestCommand.cs
SetStorageBuffersCommand.cs
SetTextureAndSamplerCommand.cs Vulkan backend (#2518) 2022-07-31 18:26:06 -03:00
SetTransformFeedbackBuffersCommand.cs
SetUniformBuffersCommand.cs
SetUserClipDistanceCommand.cs
SetVertexAttribsCommand.cs
SetVertexBuffersCommand.cs Removed unused usings. (#3593) 2022-08-18 18:04:54 +02:00
SetViewportsCommand.cs Removed unused usings. (#3593) 2022-08-18 18:04:54 +02:00
TextureBarrierCommand.cs
TextureBarrierTiledCommand.cs
TryHostConditionalRenderingCommand.cs
TryHostConditionalRenderingFlushCommand.cs
UpdateRenderScaleCommand.cs Removed unused usings. (#3593) 2022-08-18 18:04:54 +02:00