SOLVED: GLSL MAT "max_vertices must be declared for GLSL geometry shaders" Error in new version

Hey everyone,

I’ve been using GLSL for a particle system and the GLSL MAT just came up with a weird error I haven’t figured out how to solve yet. It says in the Info DAT under program link:

(0) : error C5247: max_vertices must be declared for GLSL geometry shaders
(0) : error C2003: incompatible options for link
(0) : error C5247: max_vertices must be declared for GLSL geometry shaders
(0) : error C2003: incompatible options for link

This only appeared for me when I downloaded the new version 2021.15240 and when I use version 2021.14360 it works fine. I made sure I am specifying in the geo shader the max vertices and I tried different GLSL versions and different combinations of removing parts of my code but to no avail.

Here’s a tox with my MAT node:
glsl_incompatible_options_for_link.tox (4.1 KB)

Thanks!

Hey @IGern

Thanks for the report.

There are issues in Geo shaders on Nvidia GPUs.

Please check your driver version, if you are in the 49x.x+ then rolling back to 47x.x should do the trick.

Nvidia is aware and a fix should come in the next driver update.

See SOLVED: ParticlesGpu is not working - #7 by GrayBeat for details.

Hope that helps,

Best,
Michel

2 Likes

Hello,

Nvidia drivers version 496.76+ published on 11/16/2021 are introducing a fix for this issue. They are available through GeForce Experience or at Official Drivers | NVIDIA

Best,
Michel

2 Likes

Thank you! Glad they were able to fix it!