Citron/src/shader_recompiler/backend
Zephyron 9b293c3a98 shader_recompiler: Implement vertex count lookup for Geometry stage
Add proper handling of input topologies in the Geometry stage for all three
shader backends (GLASM, GLSL, SPIRV). This implementation uses a lookup table
approach to determine vertex counts based on input topology type (Points,
Lines, LinesAdjacency, Triangles, TrianglesAdjacency) and shifts the vertex
count by 16 bits as required by the invocation info format.

Additional changes:
- Fixed TessellationControl and TessellationEval stages to properly break
  after emitting code
- Added proper header include for runtime_info.h in GLASM backend
- Improved code documentation with clear commenting patterns

This change ensures accurate geometry shader behavior across all backends,
improving compatibility with games that rely on proper vertex count reporting.

Signed-off-by: Zephyron <zephyron@citron-emu.org>
2025-02-28 17:08:27 +10:00
..
glasm shader_recompiler: Implement vertex count lookup for Geometry stage 2025-02-28 17:08:27 +10:00
glsl shader_recompiler: Implement vertex count lookup for Geometry stage 2025-02-28 17:08:27 +10:00
spirv shader_recompiler: Implement vertex count lookup for Geometry stage 2025-02-28 17:08:27 +10:00
bindings.h Revert incorrect copyright attribution for non-contributed files 2025-01-14 15:33:24 +10:00