summaryrefslogtreecommitdiff
path: root/src/shader_recompiler/frontend (follow)
Commit message (Collapse)AuthorAgeFilesLines
* shader: Fix loop safety to SSA passGravatar ReinUsesLisp2021-07-221-1/+3
|
* shader: Add loggingGravatar ReinUsesLisp2021-07-224-7/+7
|
* shader: Add shader loop safety check settingsGravatar lat9nq2021-07-224-6/+55
| | | | Also add a setting for enable Nsight Aftermath.
* shader: Comment why the array component is not read in TMMLGravatar ReinUsesLisp2021-07-221-0/+2
|
* tmml: Remove index component from coords vecGravatar ameerj2021-07-221-4/+3
| | | | The lod query functions exposed by the rendering API's do not make use of the texturearray layer indexing.
* shader: Fix VertexA Shaders.Gravatar FernandoS272021-07-221-5/+14
|
* shader: Add 2D and 3D variants to SUATOM and SUREDGravatar ReinUsesLisp2021-07-221-0/+4
| | | | Used by Claybook.
* shader: Avoid CPU side undefined behavior on I2FGravatar ReinUsesLisp2021-07-221-0/+2
|
* shader: Add support for "negative" and unaligned offsetsGravatar ReinUsesLisp2021-07-221-2/+2
| | | | | | | | | "Negative" offsets don't exist. They are shown as such due to a bug in nvdisasm. Unaligned offsets have been proved to read the aligned offset. For example, when reading an U32, if the offset is 6, the offset read will be 4.
* shader: Implement ISCADD32IGravatar ReinUsesLisp2021-07-221-17/+31
|
* shader: Always initialize up reference in structure control flowGravatar ReinUsesLisp2021-07-221-31/+36
| | | | Fixes ubsan issue.
* shader: Fix ImageWrite indexingGravatar ReinUsesLisp2021-07-221-1/+1
|
* shader: Fix TMML queriesGravatar ReinUsesLisp2021-07-221-5/+9
|
* shader: Handle host exceptionsGravatar ReinUsesLisp2021-07-223-5/+11
|
* 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-225-11/+16
| | | | Fixes the identity removal pass.
* glasm: Implement TEX and TEXS instructionsGravatar ReinUsesLisp2021-07-224-22/+17
| | | | | Remove lod clamp from texture instructions with lod, as this is not needed (nor supported).
* shader_recompiler: GCC fixesGravatar lat9nq2021-07-224-33/+30
| | | | | 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-226-10/+28
|
* glasm: Rework control flow introducing a syntax listGravatar ReinUsesLisp2021-07-2219-344/+312
| | | | | 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-223-35/+42
|
* glasm: Implement basic GLASM instructionsGravatar ReinUsesLisp2021-07-221-0/+6
|
* glasm: Add GLASM backend infrastructureGravatar ReinUsesLisp2021-07-221-0/+6
|
* shader: ISET.X implementationGravatar ameerj2021-07-221-8/+58
|
* shader: Optimize NVN FallthroughGravatar FernandoS272021-07-221-2/+5
|
* shader: Stub SR_AFFINITYGravatar FernandoS272021-07-221-0/+3
|
* shader: Implement Int32 SUATOM/SUREDGravatar ameerj2021-07-228-5/+393
|
* shader: Initial OpenGL implementationGravatar ReinUsesLisp2021-07-223-0/+12
|
* shader: Address feedbackGravatar FernandoS272021-07-223-24/+24
|
* shader: Implement VertexA stageGravatar FernandoS272021-07-224-0/+32
|
* shader: Implement delegation of Exit to dispatcher on CFGGravatar FernandoS272021-07-222-3/+47
|
* shader: Fix IADD3.CCGravatar ameerj2021-07-221-12/+5
|
* shader: Fix VMNMX selector BGravatar ReinUsesLisp2021-07-221-1/+2
|
* shader: Remove identity removal pass for better build timesGravatar ReinUsesLisp2021-07-221-1/+0
|
* 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: Refactor atomic_operations_global_memoryGravatar ameerj2021-07-221-44/+36
|
* shader: add missing include guard in half_floating_point_helper.hGravatar ameerj2021-07-221-0/+2
|
* shader: Fix gcc warningsGravatar ReinUsesLisp2021-07-222-2/+2
|
* 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: Improve goto removal algorithm complexityGravatar ReinUsesLisp2021-07-221-49/+28
| | | | | Find sibling node containing a nephew searching from the nephew itself instead of the uncle.
* 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
|
* shader: Move microinstruction header to the value headerGravatar ReinUsesLisp2021-07-228-169/+153
|
* shader: Move siblings check to a separate function and comment them outGravatar ReinUsesLisp2021-07-221-16/+21
|