[Fixed] [Vk] Crash defining > 2 custom textures in material GLDEFS

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

[Vk] Crash defining > 2 custom textures in material GLDEFS

Postby Nash » Wed Dec 16, 2020 7:06 pm

Mini demo file: https://www.dropbox.com/s/ea1fn919cvv1a ... t.pk3?dl=1

When using more than 2 custom textures in a material, the game crashes when using Vulkan. In OpenGL it does not crash.

The game won't crash when you remove two custom textures in the GLDEFS, eg;

Code: Select allExpand view
// custom textures
Texture customTexA "shaders/test1.png"
Texture customTexB "shaders/test2.png"
//Texture customTexC "shaders/test3.png"
//Texture customTexD "shaders/test4.png"
User avatar
Nash
 
 
 
Joined: 27 Oct 2003
Location: Kuala Lumpur, Malaysia
Github ID: nashmuhandes

Re: [Vk] Crash defining > 2 custom textures in material GLDE

Postby Nash » Thu Dec 24, 2020 6:19 pm

It seems in this commit, the custom texture limit was raised: https://github.com/coelckers/gzdoom/com ... 40039b876f

With the above commit, 4 custom textures became possible with OpenGL. However, Vulkan crashes the program with said commit.
User avatar
Nash
 
 
 
Joined: 27 Oct 2003
Location: Kuala Lumpur, Malaysia
Github ID: nashmuhandes

Re: [Vk] Crash defining > 2 custom textures in material GLDE

Postby Talon1024 » Fri Dec 25, 2020 2:03 am

BTW, another mod that causes this issue is AndrewMRX's HD/PBR texture pack for Heretic.
Talon1024
 
 
 
Joined: 27 Jun 2016
Github ID: Talon1024
Operating System: Debian-like Linux (Debian, Ubuntu, Kali, Mint, etc) 64-bit
Graphics Processor: nVidia with Vulkan support

Re: [Vk] Crash defining > 2 custom textures in material GLDE

Postby Nash » Fri Dec 25, 2020 4:23 am

User avatar
Nash
 
 
 
Joined: 27 Oct 2003
Location: Kuala Lumpur, Malaysia
Github ID: nashmuhandes

Re: [Vk] Crash defining > 2 custom textures in material GLDE

Postby _mental_ » Fri Jan 01, 2021 7:02 am

_mental_
 
 
 
Joined: 07 Aug 2011


Return to Closed Bugs

Who is online

Users browsing this forum: No registered users and 1 guest