Commit Graph

22 Commits (2e5af95541adf581364ee3864be57f9b2b9a230f)

Author SHA1 Message Date
lat9nq 2e5af95541 shader: GCC fmt 8.0.0 fixes 4 years ago
ReinUsesLisp 808ef97a08 shader: Move loop safety tests to code emission 4 years ago
ReinUsesLisp 1d182fc0f5 shader: Calibrate loop safety threshold 4 years ago
ReinUsesLisp 7ac55c2a75 shader: Fix loop safety to SSA pass 4 years ago
lat9nq 373f75d944 shader: Add shader loop safety check settings
Also add a setting for enable Nsight Aftermath.
4 years ago
ReinUsesLisp 329dea217d shader: Always initialize up reference in structure control flow
Fixes ubsan issue.
4 years ago
ReinUsesLisp 9bb3e008c9 shader: Read branch conditions from an instruction
Fixes the identity removal pass.
4 years ago
lat9nq f7a2340205 shader_recompiler: GCC fixes
Fixes members of unnamed union not being accessible, and one function
without a declaration.
4 years ago
ReinUsesLisp bf5e48ffe4 glasm: Initial implementation of phi nodes on GLASM 4 years ago
ReinUsesLisp d54d7de40e glasm: Rework control flow introducing a syntax list
This commit regresses VertexA shaders, their transformation pass has to
be adapted to the new control flow.
4 years ago
ReinUsesLisp c8f9772d65 shader: Fix gcc warnings 4 years ago
ReinUsesLisp cc0fcd1b8d shader: Improve goto removal algorithm complexity
Find sibling node containing a nephew searching from the nephew itself
instead of the uncle.
4 years ago
ReinUsesLisp e4d1122082 shader: Move siblings check to a separate function and comment them out 4 years ago
ReinUsesLisp dfd5341d71 shader: Mark blocks with no end branch as unreachable 4 years ago
lat9nq 0bb85f6a75 shader_recompiler,video_core: Cleanup some GCC and Clang errors
Mostly fixing unused *, implicit conversion, braced scalar init,
fpermissive, and some others.

Some Clang errors likely remain in video_core, and std::ranges is still
a pertinent issue in shader_recompiler

shader_recompiler: cmake: Force bracket depth to 1024 on Clang
Increases the maximum fold expression depth

thread_worker: Include condition_variable

Don't use list initializers in control flow

Co-authored-by: ReinUsesLisp <reinuseslisp@airmail.cc>
4 years ago
ReinUsesLisp b0d5572abf shader: Fix indirect branches to scheduler instructions 4 years ago
FernandoS27 34aba9627a shader: Implement BRX 4 years ago
ReinUsesLisp a806b29cb9 shader: Fix structured control flow on KIL instructions
This could potentially leave unvisited blocks, leading to illegal phi
nodes.
4 years ago
ReinUsesLisp d3dad6b632 shader: Properly insert Prologue instruction 4 years ago
ReinUsesLisp 68a9505d8a shader: Implement NDC [-1, 1], attribute types and default varying initialization 4 years ago
ReinUsesLisp 260743f371 shader: Add partial rasterizer integration 4 years ago
ReinUsesLisp 71f96fa636 shader: Implement CAL inlining function calls 4 years ago