summaryrefslogtreecommitdiff
path: root/src/shader_recompiler/frontend/ir (follow)
Commit message (Collapse)AuthorAgeFilesLines
* general: Avoid ambiguous format_to compilation errorsGravatar Lioncash2022-05-141-1/+1
| | | | | | | 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.
* general: Convert source file copyright comments over to SPDXGravatar Morph2022-04-2329-87/+58
| | | | | 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.
* dead_code_elimination_pass: Remove unreachable Phi argumentsGravatar ameerj2022-03-232-0/+9
|
* general: Fix clang/gcc build errorsGravatar ameerj2022-03-201-0/+1
|
* shader_recompiler: Reduce unused includesGravatar ameerj2022-03-205-8/+0
|
* lower_int64_to_int32: Add 64-bit atomic fallbacksGravatar ameerj2022-01-291-9/+9
|
* shaders: Add U64->U32x2 Atomic fallback functionsGravatar ameerj2022-01-292-0/+38
|
* shader: Add integer attribute get optimization passGravatar ameerj2021-12-291-0/+1
| | | | Works around an nvidia driver bug, where casting the integer attributes to float and back to an integer always returned 0.
* Remove spirv handle legacy related codeGravatar vonchenplus2021-12-181-1/+1
|
* Implement convert legacy to genericGravatar Feng Chen2021-11-191-0/+2
|
* shader: Properly scale image reads and add GL SPIR-V supportGravatar ReinUsesLisp2021-11-163-0/+6
| | | | Thanks for everything!
* shader: Add IsTextureScaled opcodeGravatar ReinUsesLisp2021-11-163-0/+9
|
* shader: Add copy constructor to instructionsGravatar ReinUsesLisp2021-11-164-1/+20
|
* shader: Add integer division opcodesGravatar ReinUsesLisp2021-11-163-0/+7
|
* shader: Add resolution down factor opcodeGravatar ReinUsesLisp2021-11-163-0/+7
|
* ShaderCache: Fix Phi Nodes Type on OGL.Gravatar Fernando Sahmkow2021-11-011-0/+4
|
* ShaderCache: Order Phi Arguments from farthest away to nearest.Gravatar Fernando Sahmkow2021-10-313-0/+28
|
* Merge pull request #6722 from ReinUsesLisp/xmad-optsGravatar bunnei2021-07-291-0/+8
|\ | | | | shader: Fold integer FMA from Nvidia's pattern
| * shader: Add TryInstRecursive utility to valuesGravatar ReinUsesLisp2021-07-261-0/+8
| |
* | shader_recompiler: Remove unnecessary [[nodiscard]] instancesGravatar Lioncash2021-07-262-4/+4
|/ | | | | [[nodiscard]] doesn't do anything on functions with a void return type and causes superfluous warnings.
* shader_recompiler, video_core: Resolve clang errorsGravatar lat9nq2021-07-221-1/+2
| | | | | | | | | | Silences the following warnings-turned-errors: -Wsign-conversion -Wunused-private-field -Wbraced-scalar-init -Wunused-variable And some other errors
* shader: Ignore global memory ops on devices lacking int64 supportGravatar ameerj2021-07-221-14/+14
|
* shader: Rework varyings and implement passthrough geometry shadersGravatar ReinUsesLisp2021-07-222-0/+7
| | | | | | Put all varyings into a single std::bitset with helpers to access it. Implement passthrough geometry shaders using host's.
* shader: Remove IAbs64Gravatar ReinUsesLisp2021-07-223-11/+3
|
* shader: Move loop safety tests to code emissionGravatar ReinUsesLisp2021-07-223-13/+0
|
* shader: Add loggingGravatar ReinUsesLisp2021-07-221-1/+1
|
* shader: Add shader loop safety check settingsGravatar lat9nq2021-07-223-2/+17
| | | | Also add a setting for enable Nsight Aftermath.
* Revert "glasm: Skip phi moves on undefined instructions"Gravatar ReinUsesLisp2021-07-221-13/+0
| | | | Causes regressions on Bowser's Fury.
* glasm: Skip phi moves on undefined instructionsGravatar ReinUsesLisp2021-07-221-0/+13
|
* video_core,shader: Clang-format fixesGravatar ReinUsesLisp2021-07-222-2/+2
|
* shader: Read branch conditions from an instructionGravatar ReinUsesLisp2021-07-224-5/+13
| | | | Fixes the identity removal pass.
* glasm: Implement TEX and TEXS instructionsGravatar ReinUsesLisp2021-07-222-10/+6
| | | | | Remove lod clamp from texture instructions with lod, as this is not needed (nor supported).
* shader_recompiler: GCC fixesGravatar lat9nq2021-07-222-8/+5
| | | | | Fixes members of unnamed union not being accessible, and one function without a declaration.
* shader: Use a non-trivial dummy to construct ASL node unionGravatar ReinUsesLisp2021-07-221-1/+6
|
* glasm: Initial implementation of phi nodes on GLASMGravatar ReinUsesLisp2021-07-225-7/+25
|
* glasm: Rework control flow introducing a syntax listGravatar ReinUsesLisp2021-07-2214-225/+151
| | | | | This commit regresses VertexA shaders, their transformation pass has to be adapted to the new control flow.
* shader: Add floating-point rounding to I2FGravatar ReinUsesLisp2021-07-222-34/+36
|
* glasm: Implement basic GLASM instructionsGravatar ReinUsesLisp2021-07-221-0/+6
|
* glasm: Add GLASM backend infrastructureGravatar ReinUsesLisp2021-07-221-0/+6
|
* shader: Implement Int32 SUATOM/SUREDGravatar ameerj2021-07-224-0/+186
|
* shader: Initial OpenGL implementationGravatar ReinUsesLisp2021-07-222-0/+5
|
* shader: Implement VertexA stageGravatar FernandoS272021-07-222-0/+2
|
* shader: Add missing UndoUse case for GetSparseFromOpGravatar ReinUsesLisp2021-07-221-0/+4
|
* shader: Simplify code in opcodes.h to fix IntellisenseGravatar ReinUsesLisp2021-07-221-8/+6
| | | | | | | | 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.
* shader: Implement indexed texturesGravatar ReinUsesLisp2021-07-222-20/+21
|
* shader: Fix gcc warningsGravatar ReinUsesLisp2021-07-221-1/+1
|
* shader: Inline common Value gettersGravatar ReinUsesLisp2021-07-222-109/+102
|
* shader: Intrusively store in a block if it's sealed or notGravatar ReinUsesLisp2021-07-221-0/+9
|
* shader: Use memset to reset instruction argumentsGravatar ReinUsesLisp2021-07-222-4/+7
|
* shader: Inline common Value functions into the headerGravatar ReinUsesLisp2021-07-222-19/+23
|