lizzie
f19bbda517
[common] remove ranges polyfill ( #2546 )
Signed-off-by: lizzie <lizzie@eden-emu.dev>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2546
Reviewed-by: MaranBr <maranbr@eden-emu.dev>
Reviewed-by: crueter <crueter@eden-emu.dev>
Co-authored-by: lizzie <lizzie@eden-emu.dev>
Co-committed-by: lizzie <lizzie@eden-emu.dev>
8 months ago
lizzie
191e4c75a1
[meta] fix license headers ( #2547 )
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2547
Reviewed-by: MaranBr <maranbr@eden-emu.dev>
Co-authored-by: lizzie <lizzie@eden-emu.dev>
Co-committed-by: lizzie <lizzie@eden-emu.dev>
8 months ago
lizzie
9d2681ecc9
[cmake] enable clang-cl and WoA builds ( #348 )
Compilation and CMake fixes for both Windows on ARM and clang-cl, meaning Windows can now be built on both MSVC and clang on both amd64 and aarch64.
Compiling on clang is *dramatically* faster so this should be useful for CI.
Co-authored-by: crueter <crueter@eden-emu.dev>
Co-authored-by: crueter <crueter@crueter.xyz>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/348
Reviewed-by: CamilleLaVey <camillelavey99@gmail.com>
Reviewed-by: crueter <crueter@eden-emu.dev>
Co-authored-by: lizzie <lizzie@eden-emu.dev>
Co-committed-by: lizzie <lizzie@eden-emu.dev>
8 months ago
Ameer J
903280955a
Revert "HACK: Avoid swizzling and reuploading ASTC image every frame"
This reverts commit 476ac42b61 .
3 years ago
Ameer J
476ac42b61
HACK: Avoid swizzling and reuploading ASTC image every frame
3 years ago
lat9nq
4a5f3e4733
configure_graphics_advance: Generate UI at runtime
We can iterate through the AdvancedGraphics settings and generate the UI
during runtime. This doesn't help runtime efficiency, but it helps a ton
in reducing the amount of work a developer needs in order to add a new
setting.
3 years ago
GPUCode
5196f05cec
video_core: Add BCn decoding support
3 years ago
Wollnashorn
62b0b6bde0
video_core: Removed AF for all mip modes option as it's default now
3 years ago
Wollnashorn
eff77dae59
video_core: Fallback to default anisotropy instead to 1x anisotropy
3 years ago
Wollnashorn
1844cad9d4
video_core: Add per-image anisotropy heuristics (format & mip count)
3 years ago
Wollnashorn
04782a922d
video_core: Apply AF only to samplers with normal LOD range [0, 1+x]
3 years ago
Wollnashorn
9f46c7724b
video_core: Fix default anisotropic heuristic
3 years ago
Wollnashorn
614f8a0429
video_core: Never apply AF to None mipmap mode
Should fix some artifacts with the "apply anisotropic filtering for all mipmap modes" option
3 years ago
Wollnashorn
ff4c4a45e6
video_core: Disable anisotropic filtering for samplers with depth compare
3 years ago
Wollnashorn
6f1fb4c28a
video_core: Option to apply anisotropic filtering for all mipmap modes
3 years ago
Liam
011dfe1db7
textures: add BC1 and BC3 compressors and recompression setting
3 years ago
Kelebek1
0a90adff87
Disable SRGB border color conversion for now, to fix shadows in Xenoblade.
3 years ago
Liam
5be8a74b0c
general: fix spelling mistakes
3 years ago
Feng Chen
63a0d2661c
video_core: Update texture format
3 years ago
ameerj
c5386e2179
configuration: Add async ASTC decode setting
3 years ago
arades79
60a68839ee
remove static from pointer sized or smaller types for aesthetics, change constexpr static to static constexpr for consistency
Signed-off-by: arades79 <scravers@protonmail.com>
3 years ago
arades79
adcef452e0
add static lifetime to constexpr values to force compile time evaluation where possible
Signed-off-by: arades79 <scravers@protonmail.com>
3 years ago
Liam
c5a82ada2b
video_core: fix off by one in anisotropic filtering amount
3 years ago
Liam
5a712bb51a
general: fix compile for Apple Clang
4 years ago
Kyle Kienapfel
d886438754
Add break for default cases
Visual Studio has an option to search all files in a solution, so I
did a search in there for "default:" looking for any missing break
statements.
I've left out default statements that return something, and that throw
something, even if via ThrowInvalidType. UNREACHABLE leads towards throw
R_THROW macro leads towards a return
4 years ago
Morph
c6c56d3e9c
general: Resolve -Wunused-lambda-capture and C5233
4 years ago
Morph
e9aa1821e8
decoders: Use 2's complement instead of unary -
Resolves C4146 on MSVC
4 years ago
Fernando Sahmkow
599af475c2
Decoders: Improve overall speed.
4 years ago
bunnei
616e83dd94
DMA & InlineToMemory Engines Rework.
4 years ago
Liam
47fc168030
common: remove "yuzu:" prefix from thread names
4 years ago
Morph
e48a46f331
astc: Enable parallel CPU astc decoding
Given the issues with GPU accelerated ASTC decoding with NVIDIA's latest drivers, parallelize astc decoding on the CPU.
Uses half the available threads in the system for astc decoding.
4 years ago
FengChen
b8b37d6900
video_core: Modify astc texture decode error fill value
4 years ago
Merry
e1dd4de1eb
video_core/textures/decoders: Avoid SWIZZLE_TABLE
4 years ago
Liam
c1771c98f3
common: Change semantics of UNREACHABLE to unconditionally crash
4 years ago
Andrea Pappacoda
b2eb103829
chore: add missing SPDX tags
Follow-up to 2b87305d31
4 years ago
Morph
2b87305d31
general: Convert source file copyright comments over to SPDX
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.
4 years ago
ameerj
f9709bb9e9
general: Fix clang/gcc build errors
4 years ago
ameerj
b837219423
video_core: Reduce unused includes
4 years ago
Fernando Sahmkow
88936fc84a
TextureCache: Fix Automatic Anisotropic.
5 years ago
Fernando Sahmkow
c74619d266
TextureCache: Add automatic anisotropic filtering and refactor code.
5 years ago
Fernando Sahmkow
28fddb9c5e
TextureCache: Make a better Anisotropic setter.
5 years ago
Valeri
42b0e8cadf
video_core: eliminate constant ternary
`via_header_index` is already checked above, so it would never be true in this branch
5 years ago
ameerj
899cf73819
vk_blit_screen: Fix non-accelerated texture size calculation
Addresses the potential OOB access in UnswizzleTexture.
5 years ago
yzct12345
4f7ee3d7c6
decoders: Templates allow memcpy optimizations
5 years ago
yzct12345
46e4e6707f
decoders: Optimize swizzle copy performance ( #6790 )
This makes UnswizzleTexture up to two times faster. It is the main bottleneck in NVDEC video decoding.
5 years ago
ameerj
958ede1ed9
astc_decoder: Optimize the use EncodingData
This buffer was a list of EncodingData structures sorted by their bit length, with some duplication from the cpu decoder implementation.
We can take advantage of its sorted property to optimize its usage in the shader.
Thanks to wwylele for the optimization idea.
5 years ago
ameerj
f4409c9db9
astc.h: Move data to cpp implementation
Moves leftover values that are no longer used by the gpu decoder back to the cpp implementation.
5 years ago
ReinUsesLisp
5ca5988c63
shader: Initial OpenGL implementation
5 years ago
Morph
2986e26179
video_core: Silence signed/unsigned mismatch warnings
5 years ago
ameerj
79621cca95
astc_decoder.comp: Remove unnecessary LUT SSBOs
We can move them to instead be compile time constants within the shader.
5 years ago