You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Ghost
c47f6615d3
[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: https://git.eden-emu.dev/eden-emu/eden/pulls/2
Co-authored-by: Ghost <>
Co-committed-by: Ghost <>
|
1 year ago |
| .. |
|
A32
|
[vk, opengl] Prevent GPU draw call if CBUF binding fails (cbuf0 error handling) (#2)
|
1 year ago |
|
A64
|
[vk, opengl] Prevent GPU draw call if CBUF binding fails (cbuf0 error handling) (#2)
|
1 year ago |
|
fp
|
Move dead submodules in-tree
|
1 year ago |
|
unicorn_emu
|
Move dead submodules in-tree
|
1 year ago |
|
CMakeLists.txt
|
Move dead submodules in-tree
|
1 year ago |
|
decoder_tests.cpp
|
Move dead submodules in-tree
|
1 year ago |
|
fuzz_util.cpp
|
Move dead submodules in-tree
|
1 year ago |
|
fuzz_util.h
|
Move dead submodules in-tree
|
1 year ago |
|
print_info.cpp
|
Move dead submodules in-tree
|
1 year ago |
|
rand_int.h
|
Move dead submodules in-tree
|
1 year ago |
|
rsqrt_test.cpp
|
Move dead submodules in-tree
|
1 year ago |
|
rsqrt_test_fn.s
|
Move dead submodules in-tree
|
1 year ago |
|
test_generator.cpp
|
Move dead submodules in-tree
|
1 year ago |
|
test_reader.cpp
|
Move dead submodules in-tree
|
1 year ago |
|
x64_cpu_info.cpp
|
Move dead submodules in-tree
|
1 year ago |