godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
86.93k stars 19.47k forks source link

Vulkan: SSIL does not force the editor to redraw for one frame as it should #56723

Open Calinou opened 2 years ago

Calinou commented 2 years ago

Related to https://github.com/godotengine/godot/issues/54892.

Godot version

4.0.dev (b6b81e800)

System information

Fedora 34, GeForce GTX 1080 (NVIDIA 495.46)

Issue description

SSIL does not force the editor to redraw for one frame. However, it should do that since SSIL operates with a one-frame delay. This also breaks SSIL rendering after resizing the project window when low-processor mode is enabled in the Project Settings.

This does not occur for more than one frame if Update Continuously is enabled in the Editor Settings (or if low-processor mode is disabled in the Project Settings).

Epilepsy warning: video below contains some flashing when the window is resized.

https://user-images.githubusercontent.com/180032/149147667-bf901d63-5d79-45da-8dbd-f6d6722d3fb0.mp4

Steps to reproduce

Minimal reproduction project

test_ssil_3.zip

KoBeWi commented 2 years ago

Tried in alpha 9. The SSIL seems to break only for some editor sizes when resizing and is fixed when you just move cursor over the window.

https://user-images.githubusercontent.com/2223172/172006829-79e7144a-6de9-40a9-8f31-e721c08ef517.mp4