1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2025-02-01 23:05:01 +00:00
Ryujinx/Ryujinx.Graphics.Shader/Translation
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
..
Optimizations Fix bindless 1D textures having a buffer type on the shader (#3697) 2022-09-13 08:53:55 +02:00
AggregateType.cs Vulkan backend (#2518) 2022-07-31 18:26:06 -03:00
AttributeConsts.cs Implement HLE macro for DrawElementsIndirect (#3748) 2022-11-16 14:53:04 -03:00
AttributeInfo.cs Implement HLE macro for DrawElementsIndirect (#3748) 2022-11-16 14:53:04 -03:00
ControlFlowGraph.cs
Dominance.cs
EmitterContext.cs Improve shader BRX instruction code generation (#3759) 2022-10-15 23:20:16 +00:00
EmitterContextInsts.cs Implement remaining shader double-precision instructions (#2845) 2021-12-08 17:54:12 -03:00
FeatureFlags.cs Implement HLE macro for DrawElementsIndirect (#3748) 2022-11-16 14:53:04 -03:00
FunctionMatch.cs
GlobalMemory.cs
RegisterUsage.cs
Rewriter.cs Implement HLE macro for DrawElementsIndirect (#3748) 2022-11-16 14:53:04 -03:00
ShaderConfig.cs Use vector transform feedback outputs if possible (#3832) 2022-11-12 20:20:40 -03:00
ShaderHeader.cs Do not allow render targets not explicitly written by the fragment shader to be modified (#3063) 2022-02-16 23:15:39 +01:00
Ssa.cs Vulkan backend (#2518) 2022-07-31 18:26:06 -03:00
TargetApi.cs
TargetLanguage.cs
TranslationFlags.cs Stop using glTransformFeedbackVaryings and use explicit layout on the shader (#3012) 2022-01-21 12:35:21 -03:00
TranslationOptions.cs
Translator.cs Implement HLE macro for DrawElementsIndirect (#3748) 2022-11-16 14:53:04 -03:00
TranslatorContext.cs Fix incorrect tessellation inputs/outputs (#3728) 2022-10-01 02:35:52 -03:00