thatcosmonaut / SDL

Simple Directmedia Layer
https://libsdl.org
zlib License
1 stars 1 forks source link

FEZ 2D cache breaks in FNA3D Trace #19

Closed flibitijibibo closed 1 month ago

flibitijibibo commented 1 month ago

Happens as soon as Dot starts talking for the first time, which is when the engine tries to cache and cull triles so as not to render the whole 3D scene every frame:

image

flibitijibibo commented 1 month ago

Validation is clean, as is Valgrind... probably more buffer timing issues?

flibitijibibo commented 1 month ago

This is still occurring but the effect has been significantly reduced after the slot API update, so maybe this is indeed uniform buffers?

flibitijibibo commented 1 month ago

Nope, I was wrong: The effect was only reduced because I ran with vsync enabled; this is definitely a GPU race condition.

flibitijibibo commented 1 month ago

vsync edition

image

It's different on each vsync run too!

flibitijibibo commented 1 month ago

Fixed by #23