1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-12-18 22:02:01 +00:00
Ryujinx/Spv.Generator
Nicholas Rodine 80a879cb44
Fix SpirV parse failure (#3597)
* Added .ToString overrides, to help diagnose and debug SpirV generated code.

* Added Spirv to team shared dictionary, so the word will not show up as a warning.

* Fixed bug where we were creating invalid constants (bool 0i and float 0i)

* Update Ryujinx.Graphics.Shader/CodeGen/Spirv/CodeGenContext.cs

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

* Update Spv.Generator/Instruction.cs

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

* Adjusted spacing to match style of the rest of the code.

* Added handler for FP64(double) as well, for undefined aggregate types.

* Made the operand labels a static dictionary, to avoid re-allocation on each call.
Replaced Contains/Get with a TryGetValue, to reduce the number of dictionary lookups.

* Added newline between AllOperands and ToString().

Co-authored-by: gdkchan <gab.dark.100@gmail.com>
2022-08-18 01:49:43 +02:00
..
Autogenerated Vulkan backend (#2518) 2022-07-31 18:26:06 -03:00
ConstantKey.cs Vulkan backend (#2518) 2022-07-31 18:26:06 -03:00
DeterministicHashCode.cs Vulkan backend (#2518) 2022-07-31 18:26:06 -03:00
DeterministicStringKey.cs Vulkan backend (#2518) 2022-07-31 18:26:06 -03:00
GeneratorPool.cs Vulkan backend (#2518) 2022-07-31 18:26:06 -03:00
Instruction.cs Fix SpirV parse failure (#3597) 2022-08-18 01:49:43 +02:00
InstructionOperands.cs Fix SpirV parse failure (#3597) 2022-08-18 01:49:43 +02:00
LICENSE Vulkan backend (#2518) 2022-07-31 18:26:06 -03:00
LiteralInteger.cs Fix SpirV parse failure (#3597) 2022-08-18 01:49:43 +02:00
LiteralString.cs Fix SpirV parse failure (#3597) 2022-08-18 01:49:43 +02:00
Module.cs Vulkan backend (#2518) 2022-07-31 18:26:06 -03:00
Operand.cs Vulkan backend (#2518) 2022-07-31 18:26:06 -03:00
OperandType.cs Vulkan backend (#2518) 2022-07-31 18:26:06 -03:00
spirv.cs Vulkan backend (#2518) 2022-07-31 18:26:06 -03:00
Spv.Generator.csproj Vulkan backend (#2518) 2022-07-31 18:26:06 -03:00
TypeDeclarationKey.cs Vulkan backend (#2518) 2022-07-31 18:26:06 -03:00