yuzu icon indicating copy to clipboard operation
yuzu copied to clipboard

Align index buffe size when vertex_buffer_unified_memory enable

Open vonchenplus opened this issue 1 year ago • 2 comments

Close #7171

Before: image

After: 3

Before: image After: image

This should fix more other games, more tests are welcome

vonchenplus avatar Sep 10 '22 12:09 vonchenplus

Fixes rendering in Werewolf Princess image image

german77 avatar Sep 10 '22 16:09 german77

Finish them all off?, static_cast<GLsizeiptr>(Common::AlignUp(size, 4)), GL_RED, GL_UNSIGNED_INT, &value);

Est

gl_buffer_cache.zip

Timmy5942 avatar Sep 18 '22 19:09 Timmy5942

Lgtm

Timmy5942 avatar Sep 24 '22 15:09 Timmy5942

Is the game depending on an out-of-bounds read of the index buffer in this case? The other buffer bindings don't adjust the size in this way

liamwhite avatar Sep 25 '22 19:09 liamwhite