summaryrefslogtreecommitdiff
path: root/src/shader_recompiler/frontend (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-11-18shader_recompiler: Fix spelling of "derivate" (#12067)Gravatar Ameer J4-18/+19
2023-11-17shader_recompiler: add byteswap pattern workaround for NvidiaGravatar Ameer J1-0/+1
2023-10-31shader_recompiler: Align SSBO offsets to meet host requirementsGravatar Ameer J1-1/+1
Co-Authored-By: Billy Laws <blaws05@gmail.com>
2023-08-27Shader Recompiler: Auto stub special registers and dump pipelines on exception.Gravatar Fernando Sahmkow1-1/+2
2023-08-18Shader Recomnpiler: implement textuzreGrad 3D emulation constant propagationGravatar Fernando Sahmkow5-5/+9
2023-06-10shader_recompiler: translate f64 to f32 when unsupported on hostGravatar Liam1-0/+3
2023-06-10shader_recompiler: remove barriers in conditional control flow when device ↵Gravatar Liam1-0/+3
lacks support
2023-05-26shader_recompiler: fix copy-paste errorGravatar Liam1-1/+1
2023-05-11Fix Tears of the Kingdom flickering clouds and depths.Gravatar Kelebek11-6/+1
2023-02-14remove static from pointer sized or smaller types for aesthetics, change ↵Gravatar arades793-4/+4
constexpr static to static constexpr for consistency Signed-off-by: arades79 <scravers@protonmail.com>
2023-02-14add static lifetime to constexpr values to force compile time evaluation ↵Gravatar arades793-4/+4
where possible Signed-off-by: arades79 <scravers@protonmail.com>
2023-02-04shader_recompiler/value.h: Remove lingering references to S32Gravatar ameerj1-11/+0
2023-01-29Move to Clang Format 15Gravatar Levi Behunin2-8/+8
Depends on https://github.com/yuzu-emu/build-environments/pull/69 clang-15 primary run
2023-01-28shader_recompiler: TXQ: Skip QueryLevels when possibleGravatar ameerj4-12/+16
2023-01-25shader_recompiler: Remove S32 IR typeGravatar ameerj6-27/+15
The frontend IR opcodes do not distinguish between signed and unsigned integer types. Fixes broken shaders when IR validation/graphics debugging is enabled for shaders that used BitCastS32F32
2023-01-07Revert "shader_recompiler: Align SSBO offsets to meet host requirements"Gravatar Liam1-1/+1
This reverts commit 8804a4eb23e0c4f3e4bab03dee7c204bd38bf21e.
2023-01-07Avoid OOB array access reading passthrough attr maskGravatar Billy Laws1-1/+1
YFC 1.5 extended the size of the varying mask used to hold passthrough attrs without considering this
2023-01-05Run clang-formatGravatar Billy Laws1-13/+19
2023-01-05shader_recompiler: Add support for lowering geometry passthroughGravatar Billy Laws1-40/+66
Reuses most of the existing code for generating the gl_Layer passthrough. Fixes geometry in Nier: Automata on GPUs without HW passthrough support.
2023-01-05shader_recompiler: Align SSBO offsets to meet host requirementsGravatar Billy Laws1-1/+1
We can take advantage of SSBO addresses being passed in a constant bufer to account for the extra alignment requirements in the shader itself.
2023-01-04Video_core: Address feedbackGravatar Fernando Sahmkow2-0/+3
2023-01-01MacroHLE: Add HLE replacement for base vertex and base instance.Gravatar Fernando Sahmkow5-1/+19
2022-12-01shader_recompiler: add gl_Layer translation GS for older hardwareGravatar Liam2-0/+90
2022-11-29value.h: remove recursive includeGravatar ameerj1-1/+0
2022-11-22general: fix compile for Apple ClangGravatar Liam5-3/+8
2022-11-11ir/texture_pass: Use host_info instead of querying Settings::values (#9176)Gravatar Morph1-1/+1
2022-11-07video_core: Fix few issues in Tess stageGravatar FengChen5-5/+8
2022-11-04video_core: Fix SNORM texture buffer emulating error (#9001)Gravatar Feng Chen6-15/+38
2022-10-25Revert "shader_recompiler/dead_code_elimination: Add DeadBranchElimination pass"Gravatar Feng Chen2-9/+0
2022-10-17Address feedbackGravatar FengChen1-6/+6
2022-10-06Shader Decompiler: Fix dangerous behavior of invalid iterator insertion.Gravatar Fernando Sahmkow1-3/+3
2022-09-20video_core: Fix legacy to generic location unpairedGravatar FengChen1-15/+24
2022-09-20video_core: Generate mipmap texture by drawingGravatar FengChen4-0/+14
2022-08-25video_code: support rectangle textureGravatar FengChen2-0/+7
2022-07-27chore: make yuzu REUSE compliantGravatar Andrea Pappacoda1-4/+2
[REUSE] is a specification that aims at making file copyright information consistent, so that it can be both human and machine readable. It basically requires that all files have a header containing copyright and licensing information. When this isn't possible, like when dealing with binary assets, generated files or embedded third-party dependencies, it is permitted to insert copyright information in the `.reuse/dep5` file. Oh, and it also requires that all the licenses used in the project are present in the `LICENSES` folder, that's why the diff is so huge. This can be done automatically with `reuse download --all`. The `reuse` tool also contains a handy subcommand that analyzes the project and tells whether or not the project is (still) compliant, `reuse lint`. Following REUSE has a few advantages over the current approach: - Copyright information is easy to access for users / downstream - Files like `dist/license.md` do not need to exist anymore, as `.reuse/dep5` is used instead - `reuse lint` makes it easy to ensure that copyright information of files like binary assets / images is always accurate and up to date To add copyright information of files that didn't have it I looked up who committed what and when, for each file. As yuzu contributors do not have to sign a CLA or similar I couldn't assume that copyright ownership was of the "yuzu Emulator Project", so I used the name and/or email of the commit author instead. [REUSE]: https://reuse.software Follow-up to 01cf05bc75b1e47beb08937439f3ed9339e7b254
2022-06-13general: fix compilation on GCC 12Gravatar Liam1-1/+1
2022-06-13structured_control_flow: Remove constexpr Flow::BlockGravatar lat9nq1-6/+0
This seems to be unsupported in newer libstdc++ versions due to Flow::Block's base class being a non-literal type. It's not clear to me why this was permitted in earlier versions.
2022-05-14general: Avoid ambiguous format_to compilation errorsGravatar Lioncash2-2/+2
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 SPDXGravatar Morph137-411/+274
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-04-02fix: typosGravatar Andrea Pappacoda2-2/+2
2022-03-23dead_code_elimination_pass: Remove unreachable Phi argumentsGravatar ameerj2-0/+9
2022-03-20general: Fix clang/gcc build errorsGravatar ameerj1-0/+1
2022-03-20shader_recompiler: Reduce unused includesGravatar ameerj32-47/+7
2022-03-18shader_recompiler/EXIT: skip render targets with no outputsGravatar Liam1-0/+3
2022-03-17shader_recompiler/EXIT: increment output register on failed enable testGravatar Liam1-0/+1
2022-03-16shader_recompiler: Implement LDC.IS address modeGravatar Liam1-2/+12
2022-03-13Shader decompiler: do constant propgation before texture pass.Gravatar Fernando Sahmkow1-2/+2
2022-03-08shader_recompiler/LOP3: Use brute force python results within switch/case.Gravatar Markus Wick2-52/+620
Thanks to @asLody for optimizing this function. This raised the focus that this function should be optimized more. The current table assumes that the host GPU is able to invert for free, so only AND,OR,XOR are accumulated in the performance metrik. Performance results: Instructions 0: 8 1: 30 2: 114 3: 80 4: 24 Latency 0: 8 1: 30 2: 194 3: 24
2022-01-29lower_int64_to_int32: Add 64-bit atomic fallbacksGravatar ameerj1-9/+9
2022-01-29shaders: Add U64->U32x2 Atomic fallback functionsGravatar ameerj2-0/+38