aboutsummaryrefslogtreecommitdiff
path: root/src/shader_recompiler/ir_opt/rescaling_pass.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [video_core] Skip fragment shaders with known issues on non-NVIDIA drivers ↵MaranBr2026-10-081-12/+5
| | | | | | | | | | | | | | | (#4503) - [x] I have read and followed the [Contribution Guidelines](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/CONTRIBUTING.md#code-contributions). - [x] I have read and followed the [AI Policy](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/docs/policies/AI.md) - [x] I have read and followed the [Coding Guidelines](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/docs/policies/Coding.md) to the best of my ability. ------------------- Skip fragment shaders using a pattern that is not supported by non-NVIDIA drivers. Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4503 Reviewed-by: CamilleLaVey <camillelavey99@gmail.com>
* [Settings] Add "Enable Legacy Rescale Pass" Toggle (#3582)John2026-02-261-5/+12
| | | | | | | | | | | This PR introduces an optional Legacy Rescale Compatibility Mode that restores the previous rescale‑pass behavior for titles that rely on its quirks. While the new rescale logic is generally more correct, some games exhibit visual issues that the legacy behavior incidentally avoids. Enabling this mode can mitigate line artifacts on AMD GPUs and reduce grey‑texture flickering on Nvidia GPUs in Luigi’s Mansion 3. This is a compatibility workaround rather than a full fix, and should only be used for titles affected by these rare edge‑case rendering problems. Original Logic from MaranBR Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3582 Co-authored-by: John <john@eden-emu.dev> Co-committed-by: John <john@eden-emu.dev>
* [shader_recompiler] Fix Shuffle handling for Position attributes (#3406)MaranBr2026-02-121-3/+7
| | | | | | | | | | This fixes the rescaling path to properly convert to F32, matching native 1x behavior for any resolution. Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3406 Reviewed-by: DraVee <dravee@eden-emu.dev> Reviewed-by: CamilleLaVey <camillelavey99@gmail.com> Co-authored-by: MaranBr <maranbr@outlook.com> Co-committed-by: MaranBr <maranbr@outlook.com>
* video_code: support rectangle textureFengChen2022-08-251-1/+6
|
* general: Convert source file copyright comments over to SPDXMorph2022-04-231-3/+2
| | | | | 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.
* shader_recompiler: Reduce unused includesameerj2022-03-201-1/+0
|
* rescaling_pass: Fix rescaling Color2DArray ImageFetch offsetsameerj2022-03-121-2/+27
| | | | | | ImageFetch offsets for 2D array coordinates have a different composite size than the coordinates. The rescaling pass was not taking this into account. Fixes broken shaders when scaling is enabled in Astral Chain, and likely other titles.
* ShaderCache: Better fix for Shuffling gl_FragCoordFernando Sahmkow2021-11-161-2/+13
|
* Texture Cahe/Shader decompiler: Resize PointSize on rescaling, refactor and ↵FernandoS272021-11-161-0/+21
| | | | make reaper more agressive on 4Gb GPUs.
* rescaling_pass: Fix IR errors when unscalable texture types are encounteredameerj2021-11-161-0/+28
|
* rescaling_pass: Logic simplification and minor style cleanupameerj2021-11-161-32/+17
|
* rescaling_pass: Scale ImageFetch offset if it existsameerj2021-11-161-59/+37
| | | | Plus some code deduplication
* rescaling_pass: Enable PatchImageQueryDimensions on fragment stagesameerj2021-11-161-5/+4
|
* gl_texture_cache/rescaling_pass: minor cleanupameerj2021-11-161-12/+8
|
* rescaling_pass: Fix and simplify shuffle/fragcoord passameerj2021-11-161-26/+20
|
* Shader: Don't rescale FragCoord if used by ShuffleFernando Sahmkow2021-11-161-1/+52
|
* RescalingPass: Agregate pixels on texelFetch while on Fragment ShaderFernando Sahmkow2021-11-161-3/+97
|
* shader: Fix TextureSize check on rescaling.Fernando Sahmkow2021-11-161-27/+21
|
* shader: Properly scale image reads and add GL SPIR-V supportReinUsesLisp2021-11-161-2/+1
| | | | Thanks for everything!
* shader: Properly blacklist and scale image loadsReinUsesLisp2021-11-161-3/+19
|
* shader/rescaling_pass: Patch more instructionsReinUsesLisp2021-11-161-4/+101
|
* shader: Fix rescaling passReinUsesLisp2021-11-161-1/+1
|
* shader: Fix resolution scaling passReinUsesLisp2021-11-161-34/+26
|
* ShaderDecompiler: Add initial support for rescaling.Fernando Sahmkow2021-11-161-0/+72