Ryujinx/Ryujinx.Graphics.Shader
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
..
CodeGen Fix SpirV parse failure (#3597) 2022-08-18 01:49:43 +02:00
Decoders Fix decoding of block after shader BRA.CC instructions without predicate (#3472) 2022-07-23 11:53:14 -03:00
Instructions Add support for conditional (with CC) shader Exit instructions (#3470) 2022-07-24 15:33:30 -03:00
IntermediateRepresentation Vulkan backend (#2518) 2022-07-31 18:26:06 -03:00
StructuredIr Vulkan backend (#2518) 2022-07-31 18:26:06 -03:00
Translation Fix geometry shader passthrough fallback being used when feature is supported (#3525) 2022-08-02 08:44:30 +02:00
AlphaTestOp.cs Vulkan backend (#2518) 2022-07-31 18:26:06 -03:00
AttributeType.cs Vulkan backend (#2518) 2022-07-31 18:26:06 -03:00
BufferDescriptor.cs New shader cache implementation (#3194) 2022-04-10 10:49:44 -03:00
BufferUsageFlags.cs Implement lazy flush-on-read for Buffers (SSBO/Copy) (#1790) 2021-01-17 17:08:06 -03:00
Constants.cs Initial support for shader attribute indexing (#2546) 2021-08-27 01:44:47 +02:00
IGpuAccessor.cs Vulkan backend (#2518) 2022-07-31 18:26:06 -03:00
InputTopology.cs Implement VMAD shader instruction and improve InvocationInfo and ISBERD handling (#3251) 2022-04-08 12:42:39 +02:00
OutputTopology.cs Support texture rectangle targets (non-normalized coords) 2020-01-09 02:13:00 +01:00
Ryujinx.Graphics.Shader.csproj Vulkan backend (#2518) 2022-07-31 18:26:06 -03:00
SamplerType.cs Vulkan backend (#2518) 2022-07-31 18:26:06 -03:00
ShaderProgram.cs New shader cache implementation (#3194) 2022-04-10 10:49:44 -03:00
ShaderProgramInfo.cs New shader cache implementation (#3194) 2022-04-10 10:49:44 -03:00
ShaderStage.cs Add support for render scale to vertex stage. (#2763) 2022-01-08 14:48:48 -03:00
SupportBuffer.cs Vulkan backend (#2518) 2022-07-31 18:26:06 -03:00
TessPatchType.cs Initial tessellation shader support (#2534) 2021-10-18 18:38:04 -03:00
TessSpacing.cs Initial tessellation shader support (#2534) 2021-10-18 18:38:04 -03:00
TextureDescriptor.cs New shader cache implementation (#3194) 2022-04-10 10:49:44 -03:00
TextureFormat.cs Removed extra semicolons. (#3594) 2022-08-17 09:05:15 +02:00
TextureHandle.cs Bindless elimination for constant sampler handle (#3424) 2022-07-02 15:03:35 -03:00
TextureUsageFlags.cs Add support for fragment shader interlock (#2768) 2021-10-28 19:53:12 -03:00