ryujinx-mirror/Ryujinx.Graphics.Shader/CodeGen/Glsl/Instructions
Andrey Sukharev ae4324032a
Optimize string memory usage. Use Spans and StringBuilders where possible (#3933)
* Optimize string memory usage. Use ReadOnlySpan<char> and StringBuilder where possible.

* Fix copypaste error

* Code generator review fixes

* Use if statement instead of switch

* Code style fixes

Co-authored-by: TSRBerry <20988865+TSRBerry@users.noreply.github.com>

* Another code style fix

* Styling fix

Co-authored-by: Mary-nyan <thog@protonmail.com>

* Styling fix

Co-authored-by: gdkchan <gab.dark.100@gmail.com>

Co-authored-by: TSRBerry <20988865+TSRBerry@users.noreply.github.com>
Co-authored-by: Mary-nyan <thog@protonmail.com>
Co-authored-by: gdkchan <gab.dark.100@gmail.com>
2023-01-18 22:25:16 +00:00
..
InstGen.cs Use vector outputs for texture operations (#3939) 2022-12-29 16:09:34 +01:00
InstGenBallot.cs Use vector outputs for texture operations (#3939) 2022-12-29 16:09:34 +01:00
InstGenCall.cs Implement CAL and RET shader instructions (#1618) 2020-10-25 17:00:44 -03:00
InstGenFSI.cs Add support for fragment shader interlock (#2768) 2021-10-28 19:53:12 -03:00
InstGenHelper.cs Use vector outputs for texture operations (#3939) 2022-12-29 16:09:34 +01:00
InstGenMemory.cs Optimize string memory usage. Use Spans and StringBuilders where possible (#3933) 2023-01-18 22:25:16 +00:00
InstGenPacking.cs Optimize string memory usage. Use Spans and StringBuilders where possible (#3933) 2023-01-18 22:25:16 +00:00
InstGenVector.cs Use vector outputs for texture operations (#3939) 2022-12-29 16:09:34 +01:00
InstInfo.cs Make structs readonly when applicable (#4002) 2022-12-05 14:47:39 +01:00
InstType.cs Add a pass to turn global memory access into storage access, and do all storage related transformations on IR 2020-01-09 02:13:00 +01:00