[Fixed] Start screens break some drawing functions in Vulkan

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.

Start screens break some drawing functions in Vulkan

Postby Marisa the Magician » Wed Jun 01, 2022 6:20 am

This is something I've quickly taken note of since the code was merged. It appears that once a start screen finishes, calls to Screen.Dim, Screen.Clear, as well as Screen.DrawThickLine start behaving incorrectly, the first two become pretty much invisible, and thick lines become darker in some cases (not always). The quickest way for me to reproduce this bug was to launch Hexen and open any option menu containing color pickers. If I skip the start screen using -nostartup, this does not happen.

With -nostartup:

Without -nostartup:

Removing the call to ClearRect in FStartScreen::Render seems to prevent this breakage, so the issue has to lie there.
User avatar
Marisa the Magician
ZScript Crimester
Joined: 08 Feb 2008
Location: Vigo, Galicia
Discord: Marisa the Magician#1666
Twitch ID: MarisaDOOM
Github ID: OrdinaryMagician
Operating System: Other Linux 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: Start screens break some drawing functions in Vulkan

Postby Graf Zahl » Wed Jun 01, 2022 8:03 am

A workaround is in place, I ,have no idea yet what's really wrong with this, it must be some faulty assumption by the backend regarding the shader setup.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Joined: 19 Jul 2003
Location: Germany

Return to Closed Bugs

Who is online

Users browsing this forum: No registered users and 1 guest