Citron/src/shader_recompiler
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
..
backend shader_recompiler: Implement vertex count lookup for Geometry stage 2025-02-28 17:08:27 +10:00
frontend build: upgrade fmt and SDL2 2025-02-16 13:38:05 +10:00
ir_opt Revert incorrect copyright attribution for non-contributed files 2025-01-14 15:33:24 +10:00
CMakeLists.txt Revert incorrect copyright attribution for non-contributed files 2025-01-14 15:33:24 +10:00
environment.h Revert incorrect copyright attribution for non-contributed files 2025-01-14 15:33:24 +10:00
exception.h Revert incorrect copyright attribution for non-contributed files 2025-01-14 15:33:24 +10:00
host_translate_info.h Revert incorrect copyright attribution for non-contributed files 2025-01-14 15:33:24 +10:00
object_pool.h Revert incorrect copyright attribution for non-contributed files 2025-01-14 15:33:24 +10:00
precompiled_headers.h Revert incorrect copyright attribution for non-contributed files 2025-01-14 15:33:24 +10:00
profile.h Revert incorrect copyright attribution for non-contributed files 2025-01-14 15:33:24 +10:00
program_header.h Revert incorrect copyright attribution for non-contributed files 2025-01-14 15:33:24 +10:00
runtime_info.h Revert incorrect copyright attribution for non-contributed files 2025-01-14 15:33:24 +10:00
shader_info.h Revert incorrect copyright attribution for non-contributed files 2025-01-14 15:33:24 +10:00
stage.h Revert incorrect copyright attribution for non-contributed files 2025-01-14 15:33:24 +10:00
varying_state.h Revert incorrect copyright attribution for non-contributed files 2025-01-14 15:33:24 +10:00