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

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.
Post Reply
User avatar
Nash
 
 
Posts: 17487
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia
Contact:

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

Post by Nash »

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 all

// 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
 
 
Posts: 17487
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia
Contact:

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

Post by Nash »

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.
Talon1024
 
 
Posts: 376
Joined: Mon Jun 27, 2016 7:26 pm
Preferred Pronouns: He/Him
Graphics Processor: nVidia with Vulkan support
Contact:

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

Post by Talon1024 »

BTW, another mod that causes this issue is AndrewMRX's HD/PBR texture pack for Heretic.
User avatar
Nash
 
 
Posts: 17487
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia
Contact:

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

Post by Nash »

_mental_
 
 
Posts: 3820
Joined: Sun Aug 07, 2011 4:32 am

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

Post by _mental_ »

Post Reply

Return to “Closed Bugs [GZDoom]”