eden/src
Ghost c47f6615d3
Some checks are pending
eden-build / windows (msvc) (push) Waiting to run
eden-build / linux (push) Waiting to run
eden-build / android (push) Waiting to run
eden-build / source (push) Successful in 4m10s
[vk, opengl] Prevent GPU draw call if CBUF binding fails (cbuf0 error handling) (#2)
Add defensive checks to cancel draw calls early if any graphics storage buffer (CBUF) fails to bind properly.

- Modified BindGraphicsStorageBuffer to return false on invalid buffer ID.,
- ConfigureImpl (both OpenGL and Vulkan) now propagates binding failure.,
- Pipeline::Configure returns false if CBUF binding fails.,
- PrepareDraw cancels rendering if pipeline configuration fails.,

This avoids undefined GPU behavior, draw corruption, or crashes caused by uninitialized or invalid constant buffer (CBUF0) access, particularly in games with faulty or missing shader bindings.
Eden Collaborator: <edencollaborator@eden-emu.org>
Authored-by: CamilleLaVey <camillelavey@eden-emu.org>
Signed-off-by: Bix <bix@bixed.xyz>

Co-authored-by: Bix <114880614+Bixbr@users.noreply.github.com>
Co-authored-by: crueter <crueter@eden-emu.dev>
Reviewed-on: #2
Co-authored-by: Ghost <>
Co-committed-by: Ghost <>
2025-07-13 19:27:39 +02:00
..
android [android] Fix key install and revert to old icon_bg 2025-07-13 01:17:32 -04:00
audio_core Update src/audio_core/common/feature_support.h 2025-04-04 03:40:49 +02:00
common [frontend] refactor: extract common firmware & key functions (#38) 2025-07-13 03:39:19 +02:00
core [vk, opengl] defer checks to topmost call (avoid unnecessary call) (#40) 2025-07-13 03:40:48 +02:00
dedicated_room [frontend, web] refactor: web service frontend rewrite (#221) 2025-07-01 01:44:12 +00:00
frontend_common [android] Fix key install and revert to old icon_bg 2025-07-13 01:17:32 -04:00
hid_core fix uninit values in applet and mouse (#114) 2025-05-19 19:11:06 +00:00
input_common fix uninit values in applet and mouse (#114) 2025-05-19 19:11:06 +00:00
network [frontend, web] refactor: web service frontend rewrite (#221) 2025-07-01 01:44:12 +00:00
shader_recompiler revert [android] Snapdragon 865 patches (#23) 2025-07-12 20:10:40 +02:00
tests feature/landscape-carousel (#196) 2025-06-26 20:52:54 +00:00
video_core [vk, opengl] Prevent GPU draw call if CBUF binding fails (cbuf0 error handling) (#2) 2025-07-13 19:27:39 +02:00
web_service Update fmt to allow for v11 2025-04-10 01:11:22 +02:00
yuzu [frontend] refactor: extract common firmware & key functions (#38) 2025-07-13 03:39:19 +02:00
yuzu_cmd [yuzu_cmd] gdbstub option (#43) 2025-07-13 03:25:43 +02:00
yuzu_room_standalone Fix License headers & CI (#168) 2025-06-09 01:40:21 +00:00
.clang-format chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
CMakeLists.txt remove solo executables (#106) 2025-05-19 21:30:10 +00:00