[Fixed] [texture_rework] Shader compile errors

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

[texture_rework] Shader compile errors

Postby AFADoomer » Wed May 06, 2020 5:18 pm

Certain shaders that work fine in current master builds (running 4.4pre-314-ga528290b5 right now) throw a compile error when run under the texture_rework branch.

Code: Select allExpand view
Shader 'displacement' could not be compiled:
ERROR: 0:2: '#version' : must occur first in shader
ERROR: 0:2: '#version' : bad profile name; use es, core, or compatibility
ERROR: 0:2: '#version' : bad tokens following profile -- expected newline
ERROR: 0:2: '' : compilation terminated
ERROR: 4 compilation errors.  No code generated.

This was using the displacement shader posted here. Same error in different format occurs under OpenGL vs. Vulkan.

Minimal sample attached.
Test - Shader crash.pk3
(2.84 KiB) Downloaded 5 times
User avatar
Joined: 15 Jul 2003

Re: [texture_rework] Shader compile errors

Postby Graf Zahl » Mon May 25, 2020 12:27 pm

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 0 guests