summaryrefslogtreecommitdiff
path: root/src/shader_recompiler/frontend/ir
AgeCommit message (Collapse)Author
2022-05-14general: Avoid ambiguous format_to compilation errorsLioncash
Ensures that we're using the fmt version of format_to. These are also the only three outliers. All of the other formatters we have are properly qualified.
2022-04-23general: Convert source file copyright comments over to SPDXMorph
This formats all copyright comments according to SPDX formatting guidelines. Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
2022-03-23dead_code_elimination_pass: Remove unreachable Phi argumentsameerj
2022-03-20general: Fix clang/gcc build errorsameerj
2022-03-20shader_recompiler: Reduce unused includesameerj
2022-01-29lower_int64_to_int32: Add 64-bit atomic fallbacksameerj
2022-01-29shaders: Add U64->U32x2 Atomic fallback functionsameerj
2021-12-29shader: Add integer attribute get optimization passameerj
Works around an nvidia driver bug, where casting the integer attributes to float and back to an integer always returned 0.
2021-12-18Remove spirv handle legacy related codevonchenplus
2021-11-19Implement convert legacy to genericFeng Chen
2021-11-16shader: Properly scale image reads and add GL SPIR-V supportReinUsesLisp
Thanks for everything!
2021-11-16shader: Add IsTextureScaled opcodeReinUsesLisp
2021-11-16shader: Add copy constructor to instructionsReinUsesLisp
2021-11-16shader: Add integer division opcodesReinUsesLisp
2021-11-16shader: Add resolution down factor opcodeReinUsesLisp
2021-11-01ShaderCache: Fix Phi Nodes Type on OGL.Fernando Sahmkow
2021-10-31ShaderCache: Order Phi Arguments from farthest away to nearest.Fernando Sahmkow
2021-07-29Merge pull request #6722 from ReinUsesLisp/xmad-optsbunnei
shader: Fold integer FMA from Nvidia's pattern
2021-07-26shader_recompiler: Remove unnecessary [[nodiscard]] instancesLioncash
[[nodiscard]] doesn't do anything on functions with a void return type and causes superfluous warnings.
2021-07-26shader: Add TryInstRecursive utility to valuesReinUsesLisp
2021-07-22shader_recompiler, video_core: Resolve clang errorslat9nq
Silences the following warnings-turned-errors: -Wsign-conversion -Wunused-private-field -Wbraced-scalar-init -Wunused-variable And some other errors
2021-07-22shader: Ignore global memory ops on devices lacking int64 supportameerj
2021-07-22shader: Rework varyings and implement passthrough geometry shadersReinUsesLisp
Put all varyings into a single std::bitset with helpers to access it. Implement passthrough geometry shaders using host's.
2021-07-22shader: Remove IAbs64ReinUsesLisp
2021-07-22shader: Move loop safety tests to code emissionReinUsesLisp
2021-07-22shader: Add loggingReinUsesLisp
2021-07-22shader: Add shader loop safety check settingslat9nq
Also add a setting for enable Nsight Aftermath.
2021-07-22Revert "glasm: Skip phi moves on undefined instructions"ReinUsesLisp
Causes regressions on Bowser's Fury.
2021-07-22glasm: Skip phi moves on undefined instructionsReinUsesLisp
2021-07-22video_core,shader: Clang-format fixesReinUsesLisp
2021-07-22shader: Read branch conditions from an instructionReinUsesLisp
Fixes the identity removal pass.
2021-07-22glasm: Implement TEX and TEXS instructionsReinUsesLisp
Remove lod clamp from texture instructions with lod, as this is not needed (nor supported).
2021-07-22shader_recompiler: GCC fixeslat9nq
Fixes members of unnamed union not being accessible, and one function without a declaration.
2021-07-22shader: Use a non-trivial dummy to construct ASL node unionReinUsesLisp
2021-07-22glasm: Initial implementation of phi nodes on GLASMReinUsesLisp
2021-07-22glasm: Rework control flow introducing a syntax listReinUsesLisp
This commit regresses VertexA shaders, their transformation pass has to be adapted to the new control flow.
2021-07-22shader: Add floating-point rounding to I2FReinUsesLisp
2021-07-22glasm: Implement basic GLASM instructionsReinUsesLisp
2021-07-22glasm: Add GLASM backend infrastructureReinUsesLisp
2021-07-22shader: Implement Int32 SUATOM/SUREDameerj
2021-07-22shader: Initial OpenGL implementationReinUsesLisp
2021-07-22shader: Implement VertexA stageFernandoS27
2021-07-22shader: Add missing UndoUse case for GetSparseFromOpReinUsesLisp
2021-07-22shader: Simplify code in opcodes.h to fix IntellisenseReinUsesLisp
Avoid using std::array to fix Intellisense not properly compiling this code and disabling itself on all files that include it. While we are at it, change the code to use u8 instead of size_t for the number of instructions in an opcode.
2021-07-22shader: Implement indexed texturesReinUsesLisp
2021-07-22shader: Fix gcc warningsReinUsesLisp
2021-07-22shader: Inline common Value gettersReinUsesLisp
2021-07-22shader: Intrusively store in a block if it's sealed or notReinUsesLisp
2021-07-22shader: Use memset to reset instruction argumentsReinUsesLisp
2021-07-22shader: Inline common Value functions into the headerReinUsesLisp