mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2025-02-19 07:43:35 +00:00
- Pools for Instructions and LiteralIntegers. Can be passed in when creating the generator module. - NewInstruction is called instead of new Instruction() - Ryujinx SpirvGenerator passes in some pools that are static. The idea is for these to be shared between threads eventually. - Estimate code size when creating the output MemoryStream - LiteralInteger pools using ThreadStatic pools that are initialized before and after creation... not sure of a better way since the way these are created is via implicit cast. Also, cache delegates for Spv.Generator for functions that are passed around to GenerateBinary etc, since passing the function raw creates a delegate on each call. TODO: update python spv cs generator to make the coregrammar with NewInstruction and the `params` overloads. |
||
---|---|---|
.. | ||
Autogenerated | ||
ConstantKey.cs | ||
DeterministicHashCode.cs | ||
DeterministicStringKey.cs | ||
GeneratorPool.cs | ||
Instruction.cs | ||
InstructionOperands.cs | ||
LICENSE | ||
LiteralInteger.cs | ||
LiteralString.cs | ||
Module.cs | ||
Operand.cs | ||
OperandType.cs | ||
spirv.cs | ||
Spv.Generator.csproj | ||
TypeDeclarationKey.cs |