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

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 a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: [Vk] Crash defining > 2 custom textures in material GLDEFS

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

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

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

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

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

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

BTW, another mod that causes this issue is AndrewMRX's HD/PBR texture pack for Heretic.

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

by 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.

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

by 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 all

// custom textures
Texture customTexA "shaders/test1.png"
Texture customTexB "shaders/test2.png"
//Texture customTexC "shaders/test3.png"
//Texture customTexD "shaders/test4.png"

Top