Commit graph

1683 commits

Author SHA1 Message Date
CamilleLaVey
4ca004d07c [vk] Runtime to change image layout 2026-01-07 03:07:33 -03:00
CamilleLaVey
8fef63fb3a [vk] TextureFilter 2026-01-07 03:07:33 -03:00
CamilleLaVey
4f4aeb25d9 [vk] Wrapper for Sampler Image Filter 2026-01-07 03:07:33 -03:00
CamilleLaVey
902b90c2cf [vk, rasterizer] Re-order post Sample Locations removal 2026-01-07 03:07:33 -03:00
CamilleLaVey
b440e1129f [revert] Opcode Promotion path emulation 2026-01-07 03:07:33 -03:00
CamilleLaVey
2005fc5bb0 [revert] The next step of the human kind before it's doom 2026-01-07 03:07:33 -03:00
CamilleLaVey
361ff7777d [vk] The next step of the human kind before it's doom 2026-01-07 03:07:33 -03:00
CamilleLaVey
178a0ce571 [vk, gl, spv] Opcode Promotion path emulation 2026-01-07 03:07:33 -03:00
CamilleLaVey
caee81edf0 [vk] NullDescriptor guard 2026-01-07 03:07:33 -03:00
CamilleLaVey
5dddef31e0 [vk] Adjusted Query Cache 2026-01-07 03:07:33 -03:00
CamilleLaVey
7bb41a9dfb [vk, qcom] Shader Float Control changed handling 2026-01-07 03:07:33 -03:00
CamilleLaVey
4bcf2106d5 [vk] Removed Sample Locations 2026-01-07 03:07:33 -03:00
CamilleLaVey
12bccf83a0 [vk] removed ImageViewType function 2026-01-07 03:07:33 -03:00
CamilleLaVey
2908371477 [spv, vk] reworked texture view handling and added layer count overrides 2026-01-07 03:07:33 -03:00
CamilleLaVey
79e9c7e738 [Re-introduced] Color output handling in SPIR-V emission 2026-01-07 03:07:33 -03:00
CamilleLaVey
be95cf84ff [Re-introduced] Added linear filtering in texture blitting operations 2026-01-07 03:07:33 -03:00
CamilleLaVey
cafcbfc9b2 [revert] Added linear filtering in texture blitting operations 2026-01-07 03:07:33 -03:00
CamilleLaVey
88328564bb [revert] Color output handling in SPIR-V emission. 2026-01-07 03:07:33 -03:00
CamilleLaVey
fbc1905f79 [vk] Remove forced stencil format handling in TextureCacheRuntime 2026-01-07 03:07:33 -03:00
CamilleLaVey
b9d987b92d [revert] TiledCacheBarrier starter 2026-01-07 03:07:32 -03:00
CamilleLaVey
bbfdf82396 [vk] Added support for Stencil component type in texture handling 2026-01-07 03:07:32 -03:00
CamilleLaVey
e4cb2f8d30 [vk] Added support for sample locations in depth and depth-stencil surfaces 2026-01-07 03:07:32 -03:00
CamilleLaVey
885fc2746c [gl, vk] Implement SampledView method for ImageView 2026-01-07 03:07:32 -03:00
CamilleLaVey
a16bf79cc8 [spv] Color output handling in SPIR-V emission. 2026-01-07 03:07:32 -03:00
CamilleLaVey
1cbe274240 [vk] Added linear filtering in texture blitting operations 2026-01-07 03:07:32 -03:00
CamilleLaVey
f438306c66 [spv, qcom] Implement warp intrinsics support 2026-01-07 03:07:32 -03:00
CamilleLaVey
58b43ef0b7 [vk] Conditioning Conditional Rendering #2 2026-01-07 03:07:32 -03:00
Caio Oliveira
9cfe9a4684 Revert "Controlled SPV features on QCOM"
This reverts commit 907b041ec6fb4f16750155f4c41e17389f2e385d.
2026-01-07 03:07:32 -03:00
CamilleLaVey
094071ee2b Controlled SPV features on QCOM 2026-01-07 03:07:32 -03:00
CamilleLaVey
93d87f8372 [vk, vendor, mobile] Improved mobile staging buffer data 2026-01-07 03:07:32 -03:00
CamilleLaVey
1c3f9c4730 [vk, rasterizer] Update sample location handling for MSAA configurations 2026-01-07 03:07:32 -03:00
CamilleLaVey
32f378d300 [vk, rasterizer] offsets float x Uint 2026-01-07 03:07:32 -03:00
CamilleLaVey
3ee57d9894 [vk, rasterizer] TiledCacheBarrier starter 2026-01-07 03:07:32 -03:00
CamilleLaVey
531d44a90b [maxwell, vk] VK_EXT_Sample_Locations 2026-01-07 03:07:32 -03:00
CamilleLaVey
4f1d12a3af [vk, qcom] UniformBufferAlignment set by hardware capabilities 2026-01-07 03:07:32 -03:00
CamilleLaVey
5ed257a238 [vk, qcom] Samplers Budget Management 2026-01-07 03:07:32 -03:00
CamilleLaVey
5fe502ce03 [vk, qcom] Binding buffer limits 2026-01-07 03:07:31 -03:00
CamilleLaVey
8281112bd8 [vk, vendor] Clamping memory usage in mobile gpu's 2026-01-07 03:07:31 -03:00
Caio Oliveira
2703e58fbd Revert "[vk, scheduler] Applying finising call for TF when it's not getting used"
This reverts commit c06b2598e82a38d13393808d39da698ccad2201f.
2026-01-07 03:07:27 -03:00
CamilleLaVey
110cc89c31 [vk, scheduler] Applying finising call for TF when it's not getting used 2026-01-07 03:07:27 -03:00
CamilleLaVey
bbe9c178b0 [vk, buffer_cache] Aligning VK_DYNAMIC_STATE_VERTEX_INPUT_BINDING_STRIDE_EXT logic 2026-01-07 03:06:40 -03:00
Caio Oliveira
af178e19fb Revert "[chore] remove whitespaces, bump down opengl cache and use better variable for case dyna_state" 2026-01-07 03:02:43 -03:00
Caio Oliveira
8440c2074d
[vk] Remove UniformRing and vkCmdResetQueryPool (#3270)
Fixes perfomance regression on Xenoblade Chronicles DE and Pokemon Scarlet (among other games)
It should be investigated the reason why such perfomance loss (more than ~10% in some case)

At core it partially reverted the following commits:

Reverts "[vk] Introduce Ring Buffers for Uniform Buffer (#2698)"
  This reverts commit 776958c79d.

Revert "[vk] Bring Vulkan closer to Spec (#180)"
  This reverts commit c8d6f23129.

Revert "[VK] PR 180 extension (#257)"
  This reverts commit 444b9f361e.

Revert "[vk] Fixes regression of PR #180 vk_scheduler.cpp for AMD GPU and Windows OS (#3071)"
  This reverts commit be218cc020.

Signed-off-by: Caio Oliveira <caiooliveirafarias0@gmail.com>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3270
Reviewed-by: Lizzie <lizzie@eden-emu.dev>
Reviewed-by: CamilleLaVey <camillelavey99@gmail.com>
Co-authored-by: Caio Oliveira <caiooliveirafarias0@gmail.com>
Co-committed-by: Caio Oliveira <caiooliveirafarias0@gmail.com>
2026-01-07 06:52:17 +01:00
CamilleLaVey
5edcdea78f
[refactor, vk] DynamicState, ExtendedDynamicState and VertexInputDynamicState (#3074)
This PR rewrites the DynamicState, ExtendedDynamicState and VertexInputDynamicState logic:

- Adds proper handling on how features should be loaded based on driver available features for ExtendedDynamicState/ VertexInputDynamicState.
- Fixes some old regressions with emulated formats for Android.
- Adds better formatting for tiling format features.
- Adds better formatting for format features.
- Adds NonWritable buffers handling for Spir-v.
- Updates Maintenance features calling.
- Adds new features: Multidraw, Robustness2, Image Robustness.
- Removes dead code/ duplicated on Vulkan device related to ExtendedDynamicState handling.
- Adjusts and conditions with better handling for some features callings: SwapchainMaintenance1, ConditionalRendering, ShaderExtencilExport, CustomBorderColor, TransformFeedback, VertexInputDynamicState.
- Removes some older feature ban logic.
- Adds hardware resolve path for MSAA Image Blits on Nvidia cards.
- Adds flat decorations for input interfaces on Spir-v.
- Reduces flushwork within drawcalls.
- Clamps render limits on out-of-area for rasterizer.

Co-authored-by: lizzie <lizzie@eden-emu.dev>
Co-authored-by: Caio Oliveira <caiooliveirafarias0@gmail.com>
Co-authored-by: DraVee <dravee@eden-emu.dev>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3074
Reviewed-by: DraVee <dravee@eden-emu.dev>
Reviewed-by: Lizzie <lizzie@eden-emu.dev>
Co-authored-by: CamilleLaVey <camillelavey99@gmail.com>
Co-committed-by: CamilleLaVey <camillelavey99@gmail.com>
2026-01-07 06:49:32 +01:00
lizzie
82f9d489e7
Revert "[vk, ogl/IR, dynarmic/IR] friendlier IR identity pointer chasing, inline AA passes (#2565)" (#3249)
FUCK. Fixes crash on Linux and SteamDeck
.
This reverts commit 46b32b7688.

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3249
Reviewed-by: DraVee <dravee@eden-emu.dev>
Reviewed-by: CamilleLaVey <camillelavey99@gmail.com>
Co-authored-by: lizzie <lizzie@eden-emu.dev>
Co-committed-by: lizzie <lizzie@eden-emu.dev>
2026-01-01 07:02:44 +01:00
lizzie
46b32b7688
[vk, ogl/IR, dynarmic/IR] friendlier IR identity pointer chasing, inline AA passes (#2565)
- use std::optional instead of std::unique_ptr for the Antialias (FXAA, etc) passes to avoid the extra deref
- use a pattern for deferencing the IR pointer chasing loop as suggested on the intel optimization manual
- this also removes std::vector<> overhead by using boost::container::small_vector<> (not a silver bullet but in the case of this function reduces access times)

Signed-off-by: lizzie <lizzie@eden-emu.dev>
Co-authored-by: Caio Oliveira <caiooliveirafarias0@gmail.com>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2565
Reviewed-by: Maufeat <sahyno1996@gmail.com>
Reviewed-by: MaranBr <maranbr@eden-emu.dev>
Co-authored-by: lizzie <lizzie@eden-emu.dev>
Co-committed-by: lizzie <lizzie@eden-emu.dev>
2025-12-31 17:00:29 +01:00
lizzie
e12a73e8a0
[vk, opengl] macro-ify PixelSurface and SurfaceFormat lists (#3060)
general sanity checks for both vk and opengl to see i didn't mess up any format and/or introduce regressions
likely not, thanks `paste -d" "` for existing :)

Signed-off-by: lizzie lizzie@eden-emu.dev

Co-authored-by: Maufeat <sahyno1996@gmail.com>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3060
Reviewed-by: DraVee <dravee@eden-emu.dev>
Reviewed-by: Maufeat <sahyno1996@gmail.com>
Reviewed-by: MaranBr <maranbr@eden-emu.dev>
Co-authored-by: lizzie <lizzie@eden-emu.dev>
Co-committed-by: lizzie <lizzie@eden-emu.dev>
2025-12-30 21:30:34 +01:00
crueter
e4cbcec2f1
[settings, frontend] Reorganize graphics/CPU settings, saner defaults (#3233)
- Fast GPU now defaults to 256, removed 128 since it's useless.
- Completely reorganized graphics and CPU settings on both platforms.
  Also got rid of Eden's Veil
- Merged some "use ..." settings that weren't really necessary.
- Changed ExtendedDynamicState to be a combo box

Signed-off-by: crueter <crueter@eden-emu.dev>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3233
Reviewed-by: MaranBr <maranbr@eden-emu.dev>
Reviewed-by: DraVee <dravee@eden-emu.dev>
Reviewed-by: Lizzie <lizzie@eden-emu.dev>
2025-12-30 18:03:09 +01:00
Maufeat
6d80a5f823
[nvnflinger,vk] suppress error & warning log spam (#3227)
on LM3 the log file can be up to 20MB/per minute

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3227
Reviewed-by: DraVee <dravee@eden-emu.dev>
Reviewed-by: Lizzie <lizzie@eden-emu.dev>
Reviewed-by: CamilleLaVey <camillelavey99@gmail.com>
Co-authored-by: Maufeat <sahyno1996@gmail.com>
Co-committed-by: Maufeat <sahyno1996@gmail.com>
2025-12-30 05:09:41 +01:00
Gamer64
bb94cff886
[chore] Fixed a couple memory leaks using up ~15 MB each iteration (#398)
Co-authored-by: Jarrod Norwell <official.antique@gmail.com>
Co-authored-by: Gamer64 <76565986+Gamer64ytb@users.noreply.github.com>
Co-authored-by: Caio Oliveira <caiooliveirafarias0@gmail.com>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/398
Reviewed-by: Caio Oliveira <caiooliveirafarias0@gmail.com>
Reviewed-by: Lizzie <lizzie@eden-emu.dev>
Co-authored-by: Gamer64 <gamer64@eden-emu.dev>
Co-committed-by: Gamer64 <gamer64@eden-emu.dev>
2025-12-26 02:55:52 +01:00