ryujinx/Ryujinx.Graphics.Gpu/Engine
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
..
Compute Ensure all pending draws are done before compute dispatch (#3822) 2022-11-03 19:54:30 -03:00
Dma GPU: Pass SpanOrArray for Texture SetData to avoid copy (#3745) 2022-10-08 12:04:47 -03:00
GPFifo Vulkan backend (#2518) 2022-07-31 18:26:06 -03:00
InlineToMemory Fast path for Inline-to-Memory texture data transfers (#3610) 2022-08-26 02:16:41 +00:00
MME Implement HLE macro for DrawElementsIndirect (#3748) 2022-11-16 14:53:04 -03:00
Threed Implement HLE macro for DrawElementsIndirect (#3748) 2022-11-16 14:53:04 -03:00
Twod Perform unscaled 2d engine copy on CPU if source texture isn't in cache. (#3112) 2022-02-22 11:21:29 -03:00
Types Fix blend with RGBX color formats (#3553) 2022-08-11 18:23:25 -03:00
ConditionalRenderEnabled.cs Separate GPU engines (part 2/2) (#2440) 2021-07-11 17:20:40 -03:00
DeviceStateWithShadow.cs Separate GPU engines (part 2/2) (#2440) 2021-07-11 17:20:40 -03:00
MmeShadowScratch.cs Rename ToSpan to AsSpan (#3556) 2022-08-11 18:07:37 -03:00
SetMmeShadowRamControlMode.cs Separate GPU engines (part 2/2) (#2440) 2021-07-11 17:20:40 -03:00
ShaderTexture.cs Fix image binding format (#1625) 2020-10-20 19:03:20 -03:00