aboutsummaryrefslogtreecommitdiff
path: root/src/common/string_util.cpp
diff options
context:
space:
mode:
authorxbzk <xbzk@eden-emu.dev>2026-06-03 05:02:13 +0200
committercrueter <crueter@eden-emu.dev>2026-06-03 05:02:13 +0200
commitec2b9b04001ebea637f01273ac8e6c17b2cc8390 (patch)
tree672949aeedfba37367021e74ce6b06d3175347f5 /src/common/string_util.cpp
parent5027aecf772988279bf112442b9070a0ae554c2a (diff)
[vk, renderdoc] fixed zero-sized streambuffer bug on old heap-absent GPUs (#4052)
This fix a bug in which eden crashes when renderdoc is attached to vulkan. that kept me away from renderdoc for around a year now. the bug: in video_core\renderer_vulkan\vk_staging_buffer_pool.cpp in GetStreamBufferSize(...) if device.HasDebuggingToolAttached() but heap is empty/unavailable <-- Case in my old nvidia kepler gpu the original method returns size 0, right? the change honors same original behavior, while covers my case properly, returning MAX_STREAM_BUFFER_SIZE. addl some log tip and some minimal doc. fully safe. let it rip. Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4052 Reviewed-by: MaranBr <maranbr@eden-emu.dev> Reviewed-by: Lizzie <lizzie@eden-emu.dev>
Diffstat (limited to 'src/common/string_util.cpp')
0 files changed, 0 insertions, 0 deletions