eden-miror/src
Shinmegumi 3f226678dd
[vk] Fix fallback viewport/scissor origin handling (#294)
When viewport_scale_offset_enabled is disabled, the fallback path
previously assumed a top-left origin for both viewport and scissor.
This caused incorrect positioning or inverted geometry when the GPU
state expected a lower-left origin.

This change:
- Adjusts viewport setup: if window_origin is lower-left, shift Y and
  flip height negative to emulate lower-left in Vulkan’s top-left space.
- Updates scissor setup: recalculates Y for lower-left origin and
  ensures width/height fall back to 1 if zero, avoiding invalid extents.

This aligns Vulkan’s viewport/scissor behavior with Maxwell state,
fixing rendering issues in paths without scale/offset enabled.

Co-authored-by: MaranBr <maranbr@outlook.com>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/294
Co-authored-by: Shinmegumi <shinmegumi@eden-emu.dev>
Co-committed-by: Shinmegumi <shinmegumi@eden-emu.dev>
2025-11-14 15:13:29 +01:00
..
android [android] Setting to manually set app language (#2951) 2025-11-13 03:45:58 +01:00
audio_core [audio_core] Fix audio reverb effect acording to specs (#2976) 2025-11-08 03:50:51 +01:00
common [renderer] NG ragebound workaround via LoadOverrides + vk_rasterizer UpdateBlending TouchBlendequations Rework (#2934) 2025-11-13 14:01:32 +01:00
core [dynarmic] attempt fix totk regression from #358 (#3013) 2025-11-14 15:07:13 +01:00
dedicated_room [cmake] allow static MinGW/macOS builds; fix clangarm64 (#2994) 2025-11-11 06:22:33 +01:00
dynarmic [dynarmic] attempt fix totk regression from #358 (#3013) 2025-11-14 15:07:13 +01:00
frontend_common [frontend] fix Simpleini warnings SI_NO_CONVERSION macro being redefined when provided by cmdline (freebsd, linux, etc) (#2877) 2025-10-29 03:23:46 +01:00
hid_core nuke: Goodbye PCH, you will not be missed (#2821) 2025-10-27 20:50:16 +01:00
input_common nuke: Goodbye PCH, you will not be missed (#2821) 2025-10-27 20:50:16 +01:00
network [network] Fix potential infinite hang when generating fake IPs (#2898) 2025-10-31 17:38:04 +01:00
qt_common [desktop, fs] main_window separation; fix Ryujinx save data link issues (#2929) 2025-11-09 18:07:38 +01:00
shader_recompiler [shader_recompiler] macro-ify flow_test and attribute (#2900) 2025-11-13 13:22:02 +01:00
tests [cmake] allow static MinGW/macOS builds; fix clangarm64 (#2994) 2025-11-11 06:22:33 +01:00
video_core [vk] Fix fallback viewport/scissor origin handling (#294) 2025-11-14 15:13:29 +01:00
web_service nuke: Goodbye PCH, you will not be missed (#2821) 2025-10-27 20:50:16 +01:00
yuzu [desktop] always include common/detached_tasks.h (#3002) 2025-11-11 07:44:14 +01:00
yuzu_cmd [cmake] allow static MinGW/macOS builds; fix clangarm64 (#2994) 2025-11-11 06:22:33 +01:00
yuzu_room_standalone [cmake] allow static MinGW/macOS builds; fix clangarm64 (#2994) 2025-11-11 06:22:33 +01:00
.clang-format
CMakeLists.txt externals: Fix Debug builds and remove PCH leftover (#3000) 2025-11-13 03:20:38 +01:00
dep_hashes.h.in [cmake, frontend] feat: CPMUtil + dependency viewer (#238) 2025-08-11 22:27:29 +02:00